fix #22571 (OpenAPINormalizer): Removed reset of OAS content#22573
fix #22571 (OpenAPINormalizer): Removed reset of OAS content#22573JPPortier wants to merge 2 commits intoOpenAPITools:masterfrom
Conversation
|
For reference, related to:
Not having enough insight about the right path to fix how specification are lost during the normalization |
build failed can you please take a look when you've time? |
Hi William thank your for feedback, I could but purpose of this PR was to be able to have feedback about what could be the proper way to fix this: If just removing the "reset" if good enough no problem and I should be able to update tests. Not sure to have myself enough knowledge of tool but another idea could have been to still transform list of const as enum because if will enable to have them used from mustache templates for any languages, but may be adding some "x-enum-deprecated" (like there is |
|
Hi @wing328 , Tests updated. So this PR is not enhancing anything regarding how to parse 3.1 and "const" values but Normalizer no longer remove information from schemas. |
PR checklist
"fixes #123"present in the PR description)