module ActionController::OpenAPI

Extended Modules

Defined in:

action-controller/open_api.cr
action-controller/open_api/components.cr

Instance Method Summary

Instance Method Detail

def generate_open_api_docs(title : String, version : String, **info) #

returns a NamedTuple that represents the OpenAPI docs for the current application.

the info hash splat accepts any of the keys from the info object


[View source]