Swagger::Schema
Inherits YAML::Serializable::Unmapped < YAML::Serializable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
additionalProperties
SourceadditionalProperties=(additionalProperties : Bool | Schema | Nil)
SourceallOf=(allOf : Array(Schema) | Nil)
SourceallOf?
Sourcedescription
Sourcedescription=(description : String | Nil)
Sourceenum
Sourceenum?
Sourceformat
Sourceformat=(format : String | Nil)
Sourceitems
Sourceitems=(items : Array(String) | Schema)
Sourceitems?
Sourcenullable=(nullable : Bool)
Sourcenullable?
Sourceproperties
Sourceproperties=(properties : Hash(String, Schema))
Sourceproperties?
Sourceref=(ref : String | Nil)
Sourceref?
Sourcerequired
Sourcerequired=(required : Array(String) | Nil)
Sourcetitle
Sourcetitle=(title : String | Nil)
Sourcetype
Sourcetype=(type : String)
Sourcetype?
Source