Daniel Azuma
f2726f4627
fix: temporarily disable Apigee V1 and resolve conflicts in Spanner V1.
2020-04-13 09:09:58 -07:00
Daniel Azuma
05a1367af1
Fix singularization of drives ( #809 )
2019-07-29 10:39:55 -07:00
Mladen Ilić
69fb4a0b11
Remove extra space in method template ( #785 )
...
* Remove extra space in method template
* Fix CONTRIBUTING link in readme file
2019-05-09 13:01:41 -07:00
soylent
56df9903e1
Fix exception when API desc doesn't contain blacklisted params ( #768 )
2019-03-20 14:58:19 -07:00
Daniel Azuma
5f4abfdfec
Don't crash the generator if api_names_out.yaml is absent ( #746 )
2018-12-05 14:54:11 -08:00
Matt Whisenhunt
5e38f38e10
WIP: Change IPv4 to Ipv4 before interpetting it as camel case. ( #669 )
2018-04-17 10:11:38 -07:00
bantini
6e2276cb80
Handle recursive hashes ( #621 )
...
This fixes the generator for cases where one of the entries of the
"schemas" object returned by the Discovery service is a recursively
defined map.
Fixes #608
2017-10-12 10:57:57 -07:00
Sai Cheemalapati
b87af01703
Allow automatic method name clash resolution ( #605 )
...
If the method name is generated from the request type, there is a
possibility of a clash if two methods take the same request type. For
example, if two unique methods take the request type
"CreateRoleRequest", both methods will be generated with the method name
"create_role", which causes generation to fail with an exception.
This commit resolves that issue by first generating a method name from
the request type of each method, and keeping track of which names are
duplicates. For methods that will generate a duplicate name from the
request type, the name is generated from the method ID instead (the
resulting name is guaranteed to be unique).
2017-08-18 18:35:22 -04:00
Sai Cheemalapati
74c0242266
Make the generator deterministic ( #601 )
2017-07-18 09:56:05 -07:00
Steve Bazyl
48916bfce7
Merge branch 'master' of https://github.com/sqrrrl/google-api-ruby-client into sqrrrl-master
2017-04-03 12:31:20 -07:00
Steve Bazyl
c9e0d52d96
Merge branch 'master' into v0.10
2017-03-31 13:04:01 -07:00
Steve Bazyl
51b41edb1c
#474 - Clarify that base64 properties are automatically encoded/decoded.
2017-03-31 12:27:30 -07:00
Steve Bazyl
bdc903776d
Fix inflection for teamdrives, better logging for conflicting names
2017-03-31 11:22:28 -07:00
Steve Bazyl
cc80d64a75
Update generator to output conflicting paths when duplicate name generated
2017-03-30 15:32:02 -07:00
Steven Bazyl
687223feb4
Update generator to use batchPath instead of hardcoded path
2017-03-06 12:24:30 -08:00
Steve Bazyl
39d0a164b5
Update generator to correctly handle int64/uint64 types as fixnum/bignum instead of strings
2016-08-17 15:27:23 -07:00
Steve Bazyl
95c3cf0b65
Bump version, remove stray puts statements
2016-08-17 10:24:45 -07:00
Steve Bazyl
df3e9a3c32
Inflector customizations for codegen
2016-08-08 13:21:22 -07:00
Steve Bazyl
47a02e897e
#363 - Add convenience methods for json parsing/formatting to generated objects
2016-02-25 14:37:00 -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
ed31a3bb64
Update class template to allow nil attributes values
2016-01-28 16:38:07 -08:00
Steve Bazyl
2533098484
Add option to force passing alt=json for some APIs that return xml by default
2016-01-14 10:48:40 -08:00
Steve Bazyl
e399d04d33
Tweak method name generation
2015-12-02 17:09:44 -08:00
Steven Bazyl
9c40b96d85
Avoid overwritting parameters with local vars in method template
2015-08-13 12:08:28 -07:00
Steven Bazyl
c9da9f38d1
Make required query parameters required.
2015-07-30 17:05:05 -07:00
Steven Bazyl
a1722c00e7
Move scope @private tag to Representation so data classes are documented
2015-06-25 16:10:21 -07:00
Steven Bazyl
f584a2cec8
Import refactored library. See MIGRATING.MD for details
2015-06-23 15:15:14 -07:00