class LuckySwagger::Middleware
- LuckySwagger::Middleware
- Reference
- Object
Defined in:
lucky_swagger/middleware.crConstructors
Instance Method Summary
- #api_handler : Swagger::HTTP::APIHandler
-
#build_controllers
Build the swagger controllers from the namespace_actions.
-
#lucky_route_to_swagger_params(route)
Convert a Lucky route definition into a list of swagger parameters.
- #web_handler : Swagger::HTTP::WebHandler
Constructor Detail
Instance Method Detail
def lucky_route_to_swagger_params(route)
#
Convert a Lucky route definition into a list of swagger parameters. Returns the list, and the path in swagger format.