class
AzuCLI::OpenAPI::Spec
- AzuCLI::OpenAPI::Spec
- Reference
- Object
Overview
OpenAPI 3.1 Specification data structures
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
azu_cli/openapi/spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(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)
Instance Method Summary
- #components : Components | Nil
- #components=(components : Components | Nil)
- #info : Info
- #info=(info : Info)
- #openapi : String
- #openapi=(openapi : String)
- #paths : Hash(String, PathItem) | Nil
- #paths=(paths : Hash(String, PathItem) | Nil)
- #security : Array(Hash(String, Array(String))) | Nil
- #security=(security : Array(Hash(String, Array(String))) | Nil)
- #servers : Array(Server) | Nil
- #servers=(servers : Array(Server) | Nil)
- #tags : Array(Tag) | Nil
- #tags=(tags : Array(Tag) | Nil)
Constructor Detail
def self.new(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)
#