Files
google-apis-rs/etc/api/shared.yaml
Sebastian Thiel 5b2d8a77a3 feat(mbuild): media-upload doit() methods
It's just a first step, and even though the generation works well,
I am still missing the right Rust code. Will have to simplify ...
2015-03-08 15:49:28 +01:00

47 lines
1.3 KiB
YAML

# Contains values shared among all API implementations
directories:
# directory under which all generated sources should reside
output: gen
# how to get from `output` back to common library
common: ..
# where are all the API meta files
api_base: etc/api
# all mako source files
mako_src: src/mako
api:
list:
- name: youtube
version: v3
- name: drive
version: v2
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
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.0.1"
repo_base_url: https://github.com/Byron/google-apis-rs
doc_base_url: http://byron.github.io/google-apis-rs
authors:
# don't forget to possibly add them to copyright authors
- Sebastian Thiel <byronimo@gmail>
keywords: [google, protocol, web, api]
# All APIs should live in the same repository
repository_url: https://github.com/Byron/google-apis-rs
copyright:
license_abbrev: "MIT"
# should at some point be 2015-2016 ...
years: '2015'
authors:
- 'Sebastian Thiel'