Open::Api::Schema
Inherits YAML::Serializable < JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(schema_type : String, default : String | Bool | Int32 | Int64 | Float32 | Float64 | Nil = nil, items : Open::Api::SchemaRef | Nil = nil, properties : Hash(String, Open::Api::SchemaRef) | Nil = nil, required : Array(String) | Nil = nil, format : String | Nil = nil, example : Open::Api::ExampleValue = nil)
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
additional_properties
Sourcedefault
Sourcedescription
Sourceexample
Sourceexample=(example : Open::Api::ExampleValue)
Sourceformat
Sourceitems
Sourceproperties
Sourcerequired
Sourceschema_type
Sourceto_h
SourceMacros
from_type(type)
Source