class Swagger::Builder
- Swagger::Builder
 - Reference
 - Object
 
Overview
Swagger Builder
Defined in:
swagger/builder.crConstructors
- .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)
 - .new(info : Info, authorizations : Array(Authorization) | Nil = nil)
 
Instance Method Summary
- #<<(object : Object)
 - #<<(controller : Controller)
 - #<<(server : Server)
 - #add(object : Object)
 - #add(controller : Controller)
 - #add(server : Server)
 - #add(*, controller name : String, description : String, actions : Array(Action), external_docs : Objects::ExternalDocs | Nil = nil)
 - #add(*, server name : String, description : String | Nil = nil, variables : Array(Variable) | Nil = nil)
 - #build_security(security_schemes)
 - #build_security_schemes
 - #built
 - #controllers : Array(Swagger::Controller)
 - #controllers=(controllers : Array(Swagger::Controller))
 - #info : Swagger::Objects::Info
 - #info=(info : Swagger::Objects::Info)
 - #objects : Array(Swagger::Object)
 - #objects=(objects : Array(Swagger::Object))
 - #servers : Array(Swagger::Server)
 - #servers=(servers : Array(Swagger::Server))
 
Constructor Detail
        
        def self.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)
        #
      
      
      Instance Method Detail
        
        def add(*, controller name : String, description : String, actions : Array(Action), external_docs : Objects::ExternalDocs | Nil = nil)
        #
      
      
      
        
        def add(*, server name : String, description : String | Nil = nil, variables : Array(Variable) | Nil = nil)
        #