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, items : Schema? = nil, default : String | Int32 | Int64 | Float64 | Bool? = nil, example : String | Int32 | Int64 | Float64 | Bool? = nil, required : Bool? = nil)
Instance Method Summary
- #default : String | Int32 | Int64 | Float64 | Bool | Nil
- #description : String?
- #example : String | Int32 | Int64 | Float64 | Bool | Nil
- #items : Schema?
- #required : Bool?
- #type : String
Constructor Detail
def self.new(type : String, description : String? = nil, items : Schema? = nil, default : String | Int32 | Int64 | Float64 | Bool? = nil, example : String | Int32 | Int64 | Float64 | Bool? = nil, required : Bool? = nil)
#