fix php enum allowable values delimiter generation
Use last instead of hasMore in php model templates for allowableValues data arrays to fix missing delimiter
This fixes
- https://github.com/swagger-api/swagger-codegen-generators/issues/1164
- https://github.com/swagger-api/swagger-codegen/issues/12411
Any update on this merge? Thanks!
Someone with merge permissions need to approve and merge it :/
I'm having an issue with this bug as well would appreciate the merge / release.
I hit the same issue too. It would be helpful if this PR is merged.
@frantuma
Sorry for the sudden mention but I saw you have merge permissions. Could you merge and release the fix? Currently I cannot generate the valid php model with the latest v3 docker image and this PR will fix it.
We have the same problem here. As workaround we downgraded to swagger-codegen-maven-plugin version 3.0.44, which uses swagger-codegen-generators version 1.0.41, where enum generation works back then. We would appreciate it if you could review and approve this pull request.
Thanks