Swagger::Builder
Inherits Reference < Object
Swagger Builder
Constructors
new(title : String, version : String, description : String | Nil = nil, terms_url : String | Nil = nil, license : License | Nil = nil, contact : Contact | Nil = nil, authorizations : Array(Authorization) | Nil = nil)
Sourcenew(info : Info, authorizations : Array(Authorization) | Nil = nil)
SourceInstance methods
<<(object : Object)
Source<<(controller : Controller)
Source<<(server : Server)
Sourceadd(object : Object)
Sourceadd(controller : Controller)
Sourceadd(server : Server)
Sourceadd(*, controller name : String, description : String, actions : Array(Action), external_docs : Objects::ExternalDocs | Nil = nil)
Sourceadd(*, server name : String, description : String | Nil = nil, variables : Array(Variable) | Nil = nil)
Sourcebuild_security(security_schemes)
Sourcebuild_security_schemes
Sourcebuilt
Sourcecontrollers
Sourceinfo
Sourceinfo=(info : Swagger::Objects::Info)
Sourceobjects
Sourceservers
Source