AzuCLI::OpenAPI::Spec
Inherits YAML::Serializable < JSON::Serializable < Reference < Object
OpenAPI 3.1 Specification data structures
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(pull : JSON::PullParser)
Sourcenew(openapi : String = "3.1.0", info : AzuCLI::OpenAPI::Info = Info.new, paths : Nil | Hash(String, AzuCLI::OpenAPI::PathItem) = nil, components : Nil | AzuCLI::OpenAPI::Components = 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
components
Sourcecomponents=(components : Components | Nil)
Sourceinfo
Sourceinfo=(info : Info)
Sourceopenapi
Sourceopenapi=(openapi : String)
Sourcepaths
Sourcepaths=(paths : Hash(String, PathItem) | Nil)
Sourcesecurity
Sourcesecurity=(security : Array(Hash(String, Array(String))) | Nil)
Sourceservers
Sourceservers=(servers : Array(Server) | Nil)
Sourcetags
Sourcetags=(tags : Array(Tag) | Nil)
Source