class Swaggify::Handler
- Swaggify::Handler
- Reference
- Object
Included Modules
- HTTP::Handler
Defined in:
swaggify/handler.crConstructors
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)
#