module

ActionController::OpenAPI

Instance methods

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

Source