-
Notifications
You must be signed in to change notification settings - Fork 86
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
components.parameters.region.schema.enum does not contain 'en' which is the default value in openapi3 spec #197
Comments
Thanks for catching this! I'll get a fix out right away. Do you mind sharing how you are using the Open API spec or the various outputs that lead you to this bug? Thanks again! |
Ran it against |
Got it. Any other issues with codegen? I'm looking to eventually generate and publish some libraries from this. |
But.... I actually had to fix a bug in the repo, since their version couldn't handle the |
I could add a dereferenced (resolve all $ref) spec if that seems to be an issue with codegens. |
🎉 This issue has been resolved in version 1.16.20 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Could do. I personally think the codegens should be able to deal with the spec correctly.. I've found others which can.. The only issue is that the naming of the endpoints were really bad.. Like.. REALLY bad.. after it got spit out of the codegen. End endpoints ended up being like getPlacesApiService()
getPlacesApiService1()
getPlacesApiService2()
getPlacesApiService3()
getPlacesApiService4() instead of something useful like getPlacesTextSearch()
getPlacesDetails() etc etc I am unsure if that is an issue with the I know it handles our own api correctly, but I have not done a side by side to know 'how' these codegens decide the names of the functions |
Seems I could improve that with |
It would seem you hit it perfectly.. Good spot with |
components.parameters.region.schema.enum
does not contain 'en' which is the default valuelocated in the openapi3 spec
/dist/google-maps-platform-openapi3.json
Seems I can't link directly to the file for ease of use, because Github thinks the file is too big.
Should be around line 28303-28558
The text was updated successfully, but these errors were encountered: