... | @@ -75,6 +75,8 @@ For example, to skip `git_push.sh`, one can create a file named `.openapi-genera |
... | @@ -75,6 +75,8 @@ For example, to skip `git_push.sh`, one can create a file named `.openapi-genera |
|
|
|
|
|
[.openapi-generator-ignore](https://github.com/openapitools/openapi-generator/blob/master/samples/client/petstore/ruby/.openapi-generator-ignore) is auto-generated by default.
|
|
[.openapi-generator-ignore](https://github.com/openapitools/openapi-generator/blob/master/samples/client/petstore/ruby/.openapi-generator-ignore) is auto-generated by default.
|
|
|
|
|
|
|
|
Or one can manually delete the file(s) after the code generation process completes.
|
|
|
|
|
|
### How can I customize the template to add header/footer to the auto-generated code?
|
|
### How can I customize the template to add header/footer to the auto-generated code?
|
|
|
|
|
|
You can use the `-t` option with the customized templates. Here is an example adding header/footer to Ruby templates.
|
|
You can use the `-t` option with the customized templates. Here is an example adding header/footer to Ruby templates.
|
... | | ... | |