struct Swagger::Objects::Example

Overview

Example Object

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

Included Modules

Defined in:

swagger/objects/example.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(summary : String | Nil = nil, description : String | Nil = nil, value : String | Nil = nil, external_value : String | Nil = nil, ref : String | Nil = nil) #

[View source]

Instance Method Detail

def description : String | Nil #

[View source]
def external_value : String | Nil #

[View source]
def ref : String | Nil #

[View source]
def summary : String | Nil #

[View source]
def value : String | Nil #

[View source]