module LuckySwagger

Included Modules

Defined in:

lucky_swagger.cr
lucky_swagger/annotations.cr
lucky_swagger/middleware.cr

Constant Summary

HABITAT_SETTINGS = [{decl: path : String = "/swagger", example: nil, validation: nil}, {decl: host : String = Lucky::Server.settings.host, example: nil, validation: nil}, {decl: port : Int32 = Lucky::Server.settings.port, example: nil, validation: nil}, {decl: title : String, example: nil, validation: nil}, {decl: version : String, example: nil, validation: nil}, {decl: description : String | ::Nil = nil, example: nil, validation: nil}, {decl: terms_url : String | ::Nil = nil, example: nil, validation: nil}, {decl: license : Swagger::License | ::Nil = nil, example: nil, validation: nil}, {decl: contact : Swagger::Contact | ::Nil = nil, example: nil, validation: nil}, {decl: authorizations : Array(Swagger::Authorization) | ::Nil = nil, example: nil, validation: nil}, {decl: debug_mode : Bool = false, example: nil, validation: nil}, {decl: namespaces : Array(String) = ["API::V1"], example: nil, validation: nil}] of Nil

Class Method Summary

Instance Method Summary

Class Method Detail

def self.configure(&) #

[View source]
def self.settings #

[View source]

Instance Method Detail

def settings #

[View source]