-
Notifications
You must be signed in to change notification settings - Fork 6k
Fix for Issue https://github.com/swagger-api/swagger-codegen/issues/8339 #8453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for Issue https://github.com/swagger-api/swagger-codegen/issues/8339 #8453
Conversation
Any Idea how to assign a reviewer to this Pull Request? |
hello @kunal-pmj , thanks for your PR, i'll take a time to review! |
Thanks @HugoMario |
copying same comment here: Hey again @kunal-pmj, this LGTM, i would just recommend to edit the petstore sample adding this case, only if it's not present. and based on this, update the typescript-angular samples. wdyt? i could give you a hand if you need help. |
Hi @HugoMario I have added the case to the petstore sample. However, I see that there are many samples across different angular versions. Do I need to regenerate them all with my change? Thanks |
…dified the petstore sample with a new api with the case
… into fix-singleton-query-parameter
i think one sample is ok, just to confirm you're changes works fine. |
Hi @HugoMario All the Typescript sample generators under bin/ and bin/windows directories use the petstore 2.0 specification and NOT the petsore specification with fake path where I had added the api. I tested the code generation for typescript-angular-v4.3 using petsore specification with fake path and I can see the fix working fine, in terms of code generation.
or
or none of these would be necessary? Thanks |
Hi @HugoMario Can you help by answering questions from my previous update? Thanks |
hey @kunal-pmj sorry for delay, these have been crazy busy days, i think the best approach is to have another using |
…2. Added case in a seperate petstore specification Updated the test sample by regenerating it with the changes
Hi @HugoMario Thanks |
Removed additional space from the file
Tests are green now. removed leading space from the petstore specification |
Hi @HugoMario Can I have your review Comments? thanks |
sure, i'll take a look on this today and let you know. |
Hi @HugoMario Do you want me to cover some other test? Thanks |
hi @kunal-pmj LGTM, thanks a lot for your effort and patience, really sorry for this delay |
PR checklist
./bin/
to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh
and./bin/security/{LANG}-petstore.sh
if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\
.3.0.0
branch for changes related to OpenAPI spec 3.0. Default:master
.Description of the PR
#8339
Constant Values for the QueryParameter are not taken into account while generating the TypeScript Code-Angular code