[scala-sttp] fix enumeration operator constant name collision - #10596
Conversation
|
@chameleon82 @clasnake @jimschubert @shijinkui @ramzimaalej @Bouillie @wing328 could you review this PR when you have time? |
|
Hi @bgong-mdsol, |
|
@chameleon82 the sample openapi file is an excerpt of an API that one of the many services our organization manages provides. This is a valid openapi file and as such the generator should support such edge cases, however questionable the API design may seem. |
|
Upd: sorry, it is already discussed in the related issue #10187 Could you please add test with spec? Approved from my side |
|
Could you add tests for the changes? |
|
@chameleon82 @agilob I have added the test case in 81efe8f. Try with the cmd: |
|
@chameleon82 @agilob can you have a look at the tests that were added in that last commit? 🙇 |
|
The CircleCI failure is not related to this PR. If you merge latest master into this branch, it should resolve it. |
|
@wing328 Sorry for late reply, I have merged latest master into this branch, thanks |
This PR fixes the issue #10187
Here is the openapi spec that can be used to reproduce the issue and verify the fix.
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.
master(5.3.0),6.0.x@chameleon82 @clasnake @jimschubert @shijinkui @ramzimaalej @Bouillie @wing328 @jfeltesse-mdsol @jcarres-mdsol