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
This is a continuation of the work on the RFC #2421
Now that we've merged the code to add OpenAPI generation and runtime validation, we want to optionally enable a Swagger UI so the consumers can explore the API provided by the Lambda function.
NOTE: this ticket is not yet for customers using micro-functions. This is only useful for customers with a single Lambda with many routes.
We should create a new enable_swagger method on all the API resolvers that will create all the necessary endpoints to server the Swagger UI. Optionally the user can pass middlewares if additional security / authorization is needed.
Use case
This is a continuation of the work on the RFC #2421
Now that we've merged the code to add OpenAPI generation and runtime validation, we want to optionally enable a Swagger UI so the consumers can explore the API provided by the Lambda function.
NOTE: this ticket is not yet for customers using micro-functions. This is only useful for customers with a single Lambda with many routes.
Solution/User Experience
See here for the discussion.
We should create a new
enable_swagger
method on all the API resolvers that will create all the necessary endpoints to server the Swagger UI. Optionally the user can passmiddlewares
if additional security / authorization is needed.Additional features include:
Alternative solutions
Acknowledgment
The text was updated successfully, but these errors were encountered: