class

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)
Source
new(pull : JSON::PullParser)
Source
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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

components
Source
components=(components : Components | Nil)
Source
info
Source
info=(info : Info)
Source
openapi
Source
openapi=(openapi : String)
Source
paths
Source
paths=(paths : Hash(String, PathItem) | Nil)
Source
security
Source
security=(security : Array(Hash(String, Array(String))) | Nil)
Source
servers
Source
servers=(servers : Array(Server) | Nil)
Source
tags
Source
tags=(tags : Array(Tag) | Nil)
Source