4 Commits

Author SHA1 Message Date
Alan Agius
1cdeccfc9e build: update quicktype-core to generate camelCase acronyms
At the moment for insatance `Css` will be generated as `CSS` since it's an acronym

See: https://github.com/quicktype/quicktype/blob/master/src/quicktype-core/support/Acronyms.ts
2018-12-11 11:55:54 -08:00
Alan Agius
aae1afd114 build: add support for x-deprecated when generating schema
When using the CLI and a property is deprecated we emit a warning by using the `x-deprecated` field. However API consumers have no way to know that a property is deprecated at the moment.

This converts `x-deprecated` to  `@deprecated` comments
2018-12-06 11:25:49 -08:00
Hans
c63b4d8d2b ci: disable bazel in devkit-admin build
Replace the build step with a custom JSON schema output parallel to
bazel.
2018-09-13 16:44:17 -07:00
Hans
aeb7c46332 build: add support to build JSON schema through bazel
The tests verify that the output of the rule is the same as the input, and will
error if not (with a call to action). The binary produces the golden output.

We have to check the result of the transformation into git because internally
we cannot synchronize quicktype into google3.
2018-09-13 16:44:17 -07:00