forked from jackass0528/google-api-go-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google-api-go-client: external friendliness
Adds some features to `google-api-go-client` to enable its use for service generation outside of "google.golang.org/api". This allows the generation of consistent code for other Cloud Endpoints services. Added features: - Move remaining "golang.google.org/api/internal" code into "gensupport" so services resident in other packages can compile under Go 1.5. - Add `-base_url` flag to override the default service URL. This enables generation against local `dev_appserver.py` instances to use a base URL other than "http://localhost:8080". - Add `-header_path` optional flag, which, when supplied, is a path to a file whose contents will be prepended to generated stubs. This is useful for adding project licenses to generated code. - Fix a bug where generated code references to overridden package path require the overriding packages to use the default package's name. - Fix a bug where "compute" API was included when generating '*' for any discovery URL, not just Google's. Fixes googleapis#112. Change-Id: I16d0a5992fc41f958468620cbe13a9177414fe41 Reviewed-on: https://code-review.googlesource.com/3706 Reviewed-by: Michael McGreevy <[email protected]>
- Loading branch information
1 parent
a42d61d
commit cd02e6c
Showing
156 changed files
with
5,106 additions
and
5,067 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.