class Swaggify::Handler

Included Modules

Defined in:

swaggify/handler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(title : String = "Untitled API", version : String = "0.1.0", description : String = "An example description, can be changed!", terms_url : String = "http://yourapp.com/terms", contact : Swagger::Contact = Swagger::Contact.new("John Doe", "[email protected]", "https://john.doe"), license : Swagger::License = Swagger::License.new("MIT", "https://john.doe/mit"), authorizations : Array(Swagger::Authorization) = [] of Swagger::Authorization) #

[View source]

Instance Method Detail

def call(context : HTTP::Server::Context) : HTTP::Server::Context #

[View source]