class

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)
Source
new(info : Info, authorizations : Array(Authorization) | Nil = nil)
Source

Instance methods

<<(object : Object)
Source
<<(controller : Controller)
Source
<<(server : Server)
Source
add(object : Object)
Source
add(controller : Controller)
Source
add(server : Server)
Source
add(*, controller name : String, description : String, actions : Array(Action), external_docs : Objects::ExternalDocs | Nil = nil)
Source
add(*, server name : String, description : String | Nil = nil, variables : Array(Variable) | Nil = nil)
Source
build_security(security_schemes)
Source
build_security_schemes
Source
built
Source
controllers
Source
controllers=(controllers : Array(Swagger::Controller))
Source
info
Source
objects
Source
objects=(objects : Array(Swagger::Object))
Source
servers
Source
servers=(servers : Array(Swagger::Server))
Source