googleapis / google-api-go-client

Auto-generated Google APIs for Go.
https://pkg.go.dev/google.golang.org/api
BSD 3-Clause "New" or "Revised" License
3.98k stars 1.11k forks source link

flatPath missing in the discovery document's RestMethod #961

Closed mikhailshilkov closed 3 years ago

mikhailshilkov commented 3 years ago

RestMethod struct should define a FlatPath property which is widely used in the existing discovery documents and is outlined in the API reference:

resources.(key).methods.(key).flatPath | string | The URI path of this REST method in (RFC 6570) format without level 2 features ({+var}). Supplementary to the path property.

codyoss commented 3 years ago

This issue tracker is used mainly for the generated client themselves. This appears to be a feature request for the discovery service. I have filled an internal bug 184288835 raising this feature request.

codyoss commented 3 years ago

@mikhailshilkov It has been added!

Thank you for pointing this out!