Commit Graph

39 Commits

Author SHA1 Message Date
Daniel Azuma b7e5fad8c1
chore: Add synth scripts for client generation (#912) 2020-10-15 12:21:50 -07:00
Daniel Azuma f707396c55
Resume updating api_names_out.yaml (#888) 2020-06-29 10:51:05 -07:00
Daniel Azuma 334a41b6f9
Re-enable Apigee V1 and make generation more robust against discovery errors 2020-05-05 11:23:46 -07:00
Daniel Azuma f2726f4627
fix: temporarily disable Apigee V1 and resolve conflicts in Spanner V1. 2020-04-13 09:09:58 -07:00
Mike Moore ea6fcbe5be Fix generate-api names_out usage (#787) 2019-05-10 12:57:46 -07:00
Google APIs 4759ffb5dd Generate non-preferred APIs by default
Warn instead of failing on Discovery URL requests that error. Some
URLs on the Discovery index return 404s, so skipping them saves trouble.
2017-08-25 16:46:55 -07:00
Sai Cheemalapati ed9ec4f787 Generate all preferred APIs by default (#613)
This commit removes support for the `id` flag from the `generate-api`
script. Additional Discovery documents are still supported via the `url`
flag.

The new behavior is to generate clients for all APIs marked as preferred
by the Discovery index if the `from_discovery` flag is `true`.
2017-08-25 14:31:03 -04:00
Steve Bazyl e6acda7118 Move dependencies used at generation time only to dev dependencies 2016-08-17 14:18:41 -07:00
Steve Bazyl f7bbb050cc Add youtube partner API, regenerate APIs 2016-04-14 11:15:27 -07:00
Steve Bazyl e67964189e Drop active support as a hard runtime depdendency. Still required for code generation however. #364 2016-02-25 13:06:16 -08:00
James Healy 4b9a63c086 replace multi_json dependency with regular stdlib JSON
JSON has been part of the ruby stdlib since 1.9.0 (see
https://github.com/ruby/ruby/commit/af1c4167), and the latest version of
google-api-client requires ruby 2.0 or better so we can assume it's available
2016-02-25 13:27:33 +11:00
Steve Bazyl d6787424bb Allow mixing input sources during generation 2015-12-14 17:41:50 -08:00
Steven Bazyl f584a2cec8 Import refactored library. See MIGRATING.MD for details 2015-06-23 15:15:14 -07:00
Steven Bazyl 814d6f6d92 Attempt at fixing rubinius builds on travis 2014-01-17 11:31:56 -08:00
Skip Baney 4143d900e0 don't require faraday/utils; faraday already includes it 2013-08-02 17:13:15 -05:00
Steven Bazyl 4289ab5b5f restore irb import 2013-02-15 13:20:30 -08:00
Steven Bazyl 8ce4d052fe Add oauth helper for installed apps, update CLI 2013-01-04 16:14:59 -08:00
Steven Bazyl e421d1734d Remove embedded version #s, use Gemfile 2012-10-10 14:24:25 -06:00
Bob Aman 5e751681dd Updating dependencies. 2012-07-21 13:51:23 +03:00
Bob Aman 06cdb76670 Updated to replace httpadapter with faraday. 2012-01-27 17:57:57 +03:00
Bob Aman dd5f5c70a7 Resolving /dev/null issue with WEBrick on Windows. 2011-11-16 17:26:03 +03:00
Bob Aman 55e101c365 Attempting to fix some Windows issues and update deprecated library calls. 2011-11-16 11:44:44 +03:00
Bob Aman 55977abb40 Fixed issue with registering custom discovery URIs. 2011-10-07 12:20:07 +03:00
Bob Aman 9387bfa593 Fixed issue with discovery URIs and renamed --service-version to --api-version. 2011-10-06 12:35:16 +03:00
Bob Aman f336ab34a7 Major update, primarily to add pagination support.
* Added Reference objects to encapsulate API calls.
* Added Result objects to encapsulate API responses.
* Changed the return value of APIClient#execute to Result.
* Changed the method signature of APIClient#execute to support named params.
* Added APIClient#execute! which throws exceptions on error.
* Added automatic parsing code to better allow for complex nested structures.
* Added error parser.
* Added module for pagination in parsers.
2011-07-29 18:07:04 -04:00
Bob Aman ef2abc0493 Updated to use v1 of the discovery API.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@155 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-12 20:14:15 +00:00
Bob Aman 286a7152f2 A significant update of the client functionality.
* updated to use v0.3 of the discovery API
* updated to use httpadapter 1.0.0
* added OAuth 2 support to the command line tool
* renamed some switches in the command line tool
* added additional configuration capabilities

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@128 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-05-04 11:44:35 +00:00
Bob Aman b4c37949dc Command line client no longer checks for an exact match on the buzz scopes.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@108 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2011-01-05 01:09:57 +00:00
Bob Aman f63bf8199f Added option to support manually specified discovery URI.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@101 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 22:21:26 +00:00
Bob Aman b0846efa4a Added support for xoauth_requestor_id.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@100 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 19:15:05 +00:00
Bob Aman 20eff1df7d Added support for two-legged OAuth.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@92 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:23 +00:00
Bob Aman d346426d4d Making the commands line up in the --help screen.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@91 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:20 +00:00
Bob Aman 00eb093580 Significant improvements to the CLI.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@90 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-22 00:36:15 +00:00
Bob Aman 0986b4e64f Refactored CLI tool to be more maintainable.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@89 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-20 23:49:15 +00:00
Bob Aman 61fc497f2c Added interactive session command.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@69 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-13 00:57:04 +00:00
Bob Aman 6b9c146ebc Fixing dependency issues.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@67 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 23:26:41 +00:00
Bob Aman be265da6d4 Updating CLI and explorer to match recent changes.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@65 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 23:07:36 +00:00
Bob Aman c183d6ddfd Updated to handle content types correctly.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@54 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 02:09:14 +00:00
Bob Aman 733655684a First pass at CLI for Ruby client.
git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@53 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
2010-10-12 01:53:40 +00:00