Files
google-apis-rs/etc/api/type-api.yaml
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

34 lines
819 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:
id: api
target_name: APIs
target_suffix: ''
aggregated_target_suffix: -api
depends_on_suffix:
global_targets: Yes
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 = "*"