-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[PHP] enum values generated without comma #12411
Comments
12404 is a circular reference, and while generating client code from swagger.io, I still end up with invalid enums. |
Example definition as documented:
Specific example of real use:
In PHP - as generated by editor.swagger.io produces an invalid enum type of:
The proper output in PHP must be:
|
I guess this relates to swagger-api/swagger-codegen-generators#1164 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Description
Enums returns invalid code
Swagger-codegen version
Swagger-codegen-v3 docker:latest
Swagger declaration file content or url
Command line used for generation
Related issues/PRs
This appears to be related #12404
The text was updated successfully, but these errors were encountered: