Files
google-apis-rs/etc/api/type-api.yaml
Sebastian Thiel be7d8214c1 feat(api): api generation works once again
With the new structure, it should be easy to add CLI programs with
proper dependencies accordingly.
2015-03-24 09:38:14 +01:00

30 lines
724 B
YAML

api:
base_path: "etc/api"
terms:
# how to actually do something with the API
action: doit
# when a resource is supposed to be uploaded
upload_action: upload
properties:
# additional fields specified by the user
params: '_additional_params'
# custom scopes for authentication
scopes: '_scopes'
make:
target_suffix:
depends_on:
templates:
# all output directories are relative to the one set for the respective API
- source: README.md
- source: ../LICENSE.md
- source: ../Cargo.toml
- source: lib.rs
output_dir: src
cargo:
build_version: "0.1.1"
keywords: [protocol, web, api]
dependencies:
- url = "*"
- serde = "*"
- serde_macros = "*"