Class: OpenapiBlocks::Generators::OpenapiGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- OpenapiBlocks::Generators::OpenapiGenerator
- Defined in:
- lib/generators/openapi_blocks/openapi/openapi_generator.rb
Overview
rubocop:disable Style/Documentation
Instance Method Summary collapse
Instance Method Details
#create_openapi_file ⇒ Object
10 11 12 |
# File 'lib/generators/openapi_blocks/openapi/openapi_generator.rb', line 10 def create_openapi_file template "openapi.rb.tt", "app/openapi/#{file_name}_openapi.rb" end |