struct Swagger::Objects::Info

Overview

Info Object

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#infoObject

Included Modules

Defined in:

swagger/objects/info.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def contact : Contact | Nil #

[View source]
def description : String | Nil #

[View source]
def license : License | Nil #

[View source]
def terms_url : String | Nil #

[View source]
def title : String #

[View source]
def version : String #

[View source]