Commit Graph

27 Commits

Author SHA1 Message Date
Sebastian Thiel
e42ebc0c2b Bump version to 1.0.9; update JSON schemas; add new APIs 2019-07-05 11:32:35 +08:00
Guy Taylor
86a884c48b Update JSON files 2019-07-03 18:21:35 +08:00
Sebastian Thiel
1487e6caa2 Remove an API without corresponding json file
This prevented github-pages from being generated.
Don't quite know how that could happen.
2018-10-14 13:48:48 +02:00
Sebastian Thiel
255c7f5ad5 Update to latest versions of API declarations 2018-10-13 13:49:14 +02:00
Guy Taylor
f2363df5b5 chore(gen): add photoslibrary v1 code 2018-10-11 19:55:54 +01:00
Sebastian Thiel
357a0e650e Upgrade to latest API versions + code regen 2017-12-12 14:30:54 +01:00
Sebastian Thiel
059d6700dd Publish latest versions of all APIs 2017-09-27 14:54:55 +02:00
Sebastian Thiel
9cff808362 chore(json): update all apis
And bring in 5 new ones, including cloudkms.
Also update dependencies to make things compile again.
2017-05-22 20:42:37 +02:00
Sebastian Thiel
06caa1de02 chore(json): fetch latest json and re-gen all code 2016-12-16 11:25:26 +01:00
Sebastian Thiel
13ed4eaecb chore(api-update): to latest
Using `make update-json`, all json descriptions have been update.
Quite interesting to see that there are plenty of new ones which
are giving 404 when queried. An actual bug, or something I should
look into ?
2016-09-11 10:02:29 +02:00
Sebastian Thiel
930ce6d5c2 chore(update): all jsons; version-up
As we are now back to serde 0.6, the patch-level was upped too.
2016-04-10 14:04:44 +02:00
Sebastian Thiel
5094f61c88 chore(json-up): fetch latest json
api-list.yaml was updated manually to push out APIs which are just
empty or plain incompatible with what we are doing
2016-02-28 08:19:26 +01:00
Sebastian Thiel
8732b5f869 chore(publish): update all crates 2016-01-30 15:00:27 +01:00
Sebastian Thiel
8f01e8e918 feat(json): updated API descriptions 2016-01-30 14:06:58 +01:00
Sebastian Thiel
862842f621 chore(json): update to latest version 2015-10-18 19:29:28 +02:00
Sebastian Thiel
62b63b251a chore(json-update): latest json files
This also adds a usable version of the genomics API, which was empty
previously (and if I recall correctly).
2015-07-21 18:36:44 +02:00
Sebastian Thiel
7d58d66025 chore(json-update): update json and regen all code 2015-06-26 16:08:25 +02:00
Sebastian Thiel
f8689be451 fix(all): update all code to latest version
* add new APIs
* remove old ones
* add latest json files
2015-04-24 20:07:12 +02:00
Sebastian Thiel
91861dcb71 fix(rustup): rustc (be9bd7c93 2015-04-05)
* using std::convert
* update to latest hyper (and other dependencies)

Related to #46
2015-04-07 11:59:10 +02:00
Sebastian Thiel
cefd606b53 feat(make): cli depends on API, generically
This allows us to build efficiently. CLI programs can now have their
own cmn.rs implementation, which we can test standalone with
`cargo test`.

The primary makefile currently just explicitly pulls in the type-*.yaml,
one day we could possibly put it into a loop.

Fixes #11
2015-03-24 12:56:24 +01:00
Sebastian Thiel
5ff22851fa fix(apis): exclude those with recursive schemas
They currently don't compile as Box 'serde' is not supported.
See https://github.com/erickt/rust-serde/issues/45.

Related to #34.
2015-03-21 08:20:06 +01:00
Sebastian Thiel
8d9f175f91 fix(types): make recursive types possible
Must be `Option<Box<T>>` now, whereas a simple `Box<T>` worked
previously. Anyway, serde can't decode/encode Boxes yet, so
plus1 was removed from the list of APIs to build.

Related to #34
2015-03-20 20:10:16 +01:00
Sebastian Thiel
60d953a342 feat(methods): intermed. support for 'methods'
These 'methods' have no resources, and need slightly special handling.
This version at least makes the generator work, even though
it produces duplicates.

However, as it is so ugly, I'd rather consider to change it
substantially ... this feature should just come naturally.
2015-03-17 15:48:07 +01:00
Sebastian Thiel
c0a2476058 feat(deps): update-json using discovery API
Instead of depending on the google go client API repository, I now
use the original data source, namely the discovery API.

fixes #5
2015-03-13 17:06:48 +01:00
Sebastian Thiel
92d8fa76d0 fix(apis): intermediate improvements ...
... it shows that the override I used previously won't work for `admin`.
Therefore we have to keep the actual value, instead of degenrating it.

Makes sense ... it's interesting how much one tends to hard-code things
to work just for a few cases, unless you opt in to see the whole picture
2015-03-10 15:54:43 +01:00
Sebastian Thiel
ff5cbb3bf4 fix(api-versions): ignore beta/alpha,assure latest
There were a few bugs in the generator program, which caused old
versions to be picked up, and alphas/betas
2015-03-10 15:12:26 +01:00
Sebastian Thiel
9377220c59 chore(data-merge): api-list is now in separte file
This file is completely generated, and allows us to easily bring in
new versions after each json update.

To make that work, we simple merge all data handed to mako-render,
inside of it. That way, we can put 'api/list' data in any yaml.
2015-03-10 15:00:43 +01:00