openapi-specification
openapi-specification copied to clipboard
Missing openapi specification file for "New Places API"
Google Places have introduce new API which is documented here: https://developers.google.com/maps/documentation/places/web-service/op-overview
I am looking for openapi specification file where would be defined "New Place API".
Where I could found openapi specification for "New Places API"?
If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@ramunasjurgilas Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
- Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
- Open a support case - Get 1:1 support in Cloud Console.
- Discord - chat with other developers
-
StackOverflow - use the
google-maps
tag
This is an automated message, feel free to ignore.
I would appreciate support for the new Places API very much
The README.md
mentions:
Note: New APIs will be documented using Google Discovery documents and Protobuf files.
Where could we find that documentation? Is there a way to auto-generate the Open API spec from it?
I managed to generate the OpenAPI spec from the Protobuf files on https://github.com/googleapis/googleapis/tree/master/google/maps/places/v1 using protoc-gen-openapi.
git clone [email protected]:googleapis/googleapis.git
cd googleapis
go install github.com/google/gnostic/cmd/protoc-gen-openapi@latest
protoc -I. --openapi_out . google/maps/places/v1/places_service.proto
Generated file: openapi.yaml (remove the .txt
extension)
Generating the specifications of the other APIs is probably similar.