You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I want to be able to capture any potential errors from serving the OpenAPI schema, so that I can quickly resolve any issues with the schema definition of my endpoint operations.
Currently, rest.OpenApiJsonHandler and rest.OpenApiYamlHandler do not log/capture any errors and simply just return a generic HTTP 500 status code.
Acceptance Criteria
rest.OpenApiJsonHandler should be implemented as a endpoint.Operation
rest.OpenApiYamlHandler should be implemented as a endpoint.Operation
both rest.OpenApiJsonHandler and rest.OpenApiYamlHandler should allow for a endpoint.ErrorHandler to be provided
Related Issues
No response
The text was updated successfully, but these errors were encountered:
Description
As a user, I want to be able to capture any potential errors from serving the OpenAPI schema, so that I can quickly resolve any issues with the schema definition of my endpoint operations.
Currently,
rest.OpenApiJsonHandler
andrest.OpenApiYamlHandler
do not log/capture any errors and simply just return a generic HTTP 500 status code.Acceptance Criteria
rest.OpenApiJsonHandler
should be implemented as aendpoint.Operation
rest.OpenApiYamlHandler
should be implemented as aendpoint.Operation
rest.OpenApiJsonHandler
andrest.OpenApiYamlHandler
should allow for aendpoint.ErrorHandler
to be providedRelated Issues
No response
The text was updated successfully, but these errors were encountered: