New option to map inline schema names#12237
Conversation
|
Is there any way to disable this behavior? This is causing some regression bugs on our end. What if we don't want to have inline models created at all? |
|
This PR causes a critical regression bug Let's say we have an object defined in my OpenAPI 3.0.3 schema Before this PR, the OpenAPI generator will link But now it will create a new model called And I cannot overwrite it with (and by the way you missed the ending "s" in the log output, which is very misleading. I spend hours on figuring out why |
New option to map inline schema names, e.g.
Here are what the log looks like:
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
cc @OpenAPITools/generator-core-team