class LuckySwagger::Middleware

Defined in:

lucky_swagger/middleware.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def api_handler : Swagger::HTTP::APIHandler #

[View source]
def build_controllers #

Build the swagger controllers from the namespace_actions.


[View source]
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.


[View source]
def web_handler : Swagger::HTTP::WebHandler #

[View source]