Files
google-apis-rs/etc/api/api.yaml
Sebastian Thiel 137ba8caf3 refactor(mako): put API relevant stuff into subdir
This is the first of many changes to come.
We try to leverage our ability to merge multiple data source into one
to abstract away what we are actually doing, and of course, to allow
sharing the majority of the code, were applicable.
2015-03-23 16:13:02 +01:00

30 lines
721 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 = "*"