class AzuCLI::OpenAPI::Parser

Overview

Parser for OpenAPI 3.1 specifications

Defined in:

azu_cli/openapi/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(file_path : String) #

[View source]

Instance Method Detail

def file_path : String #

[View source]
def operations : Array(OperationInfo) #

Get all operations from all paths


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

Get all paths from the spec


[View source]
def resolve_ref(ref : String) : Schema | Nil #

Resolve $ref reference


[View source]
def schemas : Hash(String, Schema) #

Get all schemas from components


[View source]
def spec : Spec #

[View source]