struct Swagger::Objects::Info
- Swagger::Objects::Info
- Struct
- Value
- Object
Overview
Info Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#infoObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/info.crConstructors
- .new(title : String, version : String, description : String | Nil = nil, terms_url : String | Nil = nil, license : License | Nil = nil, contact : Contact | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #contact : Contact | Nil
- #description : String | Nil
- #license : License | Nil
- #terms_url : String | Nil
- #title : String
- #version : String
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)
#