Module: OpenAPIRest::ApiDoc
- Defined in:
- lib/openapi_rest/api_doc.rb
Overview
Api doc parser based on OpenAPI specs
Class Method Summary collapse
Class Method Details
.configure {|config = OpenAPIRest::ApiConfig.new| ... } ⇒ Object
9 10 11 12 |
# File 'lib/openapi_rest/api_doc.rb', line 9 def configure yield config = OpenAPIRest::ApiConfig.new @config = config end |
.document ⇒ Object
14 15 16 |
# File 'lib/openapi_rest/api_doc.rb', line 14 def document @config.document end |