Class: Iron::Api::OpenapiSpec
- Inherits:
-
Object
- Object
- Iron::Api::OpenapiSpec
- Defined in:
- app/models/iron/api/openapi_spec.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'app/models/iron/api/openapi_spec.rb', line 4 def to_h { openapi: "3.1.0", info: { title: "Iron CMS API", version: "1.0" }, security: [ { bearerAuth: [] } ], paths: paths, components: components } end |