Skip to content
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

Missing openapi specification file for "New Places API" #485

Open
ramunasjurgilas opened this issue Apr 8, 2024 · 4 comments
Open

Missing openapi specification file for "New Places API" #485

ramunasjurgilas opened this issue Apr 8, 2024 · 4 comments
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@ramunasjurgilas
Copy link

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"?

@ramunasjurgilas ramunasjurgilas added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Apr 8, 2024
@wangela
Copy link
Member

wangela commented Apr 8, 2024

If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 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:

This is an automated message, feel free to ignore.

@holzerch
Copy link

I would appreciate support for the new Places API very much

@diego-aquino
Copy link

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?

@diego-aquino
Copy link

diego-aquino commented Aug 1, 2024

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 git@github.com: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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

4 participants