struct Swagger::Objects::Property
- Swagger::Objects::Property
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
swagger/objects/property.crConstructors
- .new(pull : JSON::PullParser)
- .new(type : String, description : String | Nil = nil, items : Schema | Nil = nil, default : String | Int32 | Int64 | Float64 | Bool | Nil = nil, example : String | Int32 | Int64 | Float64 | Bool | Nil = nil, required : Bool | Nil = nil)
Instance Method Summary
- #default : String | Int32 | Int64 | Float64 | Bool | Nil
- #description : String | Nil
- #example : String | Int32 | Int64 | Float64 | Bool | Nil
- #items : Schema | Nil
- #required : Bool | Nil
- #type : String
Constructor Detail
def self.new(type : String, description : String | Nil = nil, items : Schema | Nil = nil, default : String | Int32 | Int64 | Float64 | Bool | Nil = nil, example : String | Int32 | Int64 | Float64 | Bool | Nil = nil, required : Bool | Nil = nil)
#