struct Swagger::Objects::Example
- Swagger::Objects::Example
- Struct
- Value
- Object
Overview
Example Object
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#exampleObject
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/example.crConstructors
- .new(pull : JSON::PullParser)
- .new(summary : String | Nil = nil, description : String | Nil = nil, value : String | Nil = nil, external_value : String | Nil = nil, ref : String | Nil = nil)
Instance Method Summary
- #description : String | Nil
- #external_value : String | Nil
- #ref : String | Nil
- #summary : String | Nil
- #value : String | Nil
Constructor Detail
def self.new(summary : String | Nil = nil, description : String | Nil = nil, value : String | Nil = nil, external_value : String | Nil = nil, ref : String | Nil = nil)
#