class AzuCLI::OpenAPI::Spec

Overview

OpenAPI 3.1 Specification data structures

Included Modules

Defined in:

azu_cli/openapi/spec.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def components : Components | Nil #

[View source]
def components=(components : Components | Nil) #

[View source]
def info : Info #

[View source]
def info=(info : Info) #

[View source]
def openapi : String #

[View source]
def openapi=(openapi : String) #

[View source]
def paths : Hash(String, PathItem) | Nil #

[View source]
def paths=(paths : Hash(String, PathItem) | Nil) #

[View source]
def security : Array(Hash(String, Array(String))) | Nil #

[View source]
def security=(security : Array(Hash(String, Array(String))) | Nil) #

[View source]
def servers : Array(Server) | Nil #

[View source]
def servers=(servers : Array(Server) | Nil) #

[View source]
def tags : Array(Tag) | Nil #

[View source]
def tags=(tags : Array(Tag) | Nil) #

[View source]