class AzuCLI::OpenAPI::ResponseGenerator

Overview

Generate response/page classes from OpenAPI response schemas

Defined in:

azu_cli/openapi/response_generator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(resource : String, action : String, schema : Schema | Nil, parser : Parser) #

[View source]

Instance Method Detail

def action : String #

[View source]
def generate(force : Bool = false) #

Generate response file


[View source]
def parser : Parser #

[View source]
def resource : String #

[View source]
def schema : Schema | Nil #

[View source]