class Grip::Controllers::Swagger

Included Modules

Defined in:

grip/controllers/swagger.cr

Constructors

Instance Method Summary

Instance methods inherited from class Grip::Controllers::Base

call(context : Context) : Context call

Constructor Detail

def self.new(document : ::Swagger::Builder, base_path : String = "/api/swagger") #

[View source]

Instance Method Detail

def base_path : String #

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

[View source]
def call(context : Context) : Context #

[View source]
def document : ::Swagger::Builder #

[View source]
def document=(document : ::Swagger::Builder) #

[View source]