id | title |
---|---|
faq-extending | FAQ: Extending |
Please add -Dio.swagger.v3.parser.util.RemoteUrl.trustAll=true
when generating the code.
OpenAPI Generator has a built-in ignore file processor.
For example, to skip git_push.sh
, one can create a file named .openapi-generator-ignore
in the root of the output directory with the contents:
# Prevent generator from creating these files:
git_push.sh
The ignore file works just like .gitignore, and it is auto-generated by default.
If you need this functionality on initial generation, you can provide the option --ignore-file-override
(CLI) or ignoreFileOverride
(Maven and Gradle plugins) with a value targeting any existing file. The contents of that file will be evaluated relative to the output directory.
Variants:
OpenAPI Generator supports user-defined templates without need to recompile the artifact. We also support custom generators (templates and logic) if those generators are accessible on the classpath.
See templating: Modifying Templates and customization docs for more details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。