Files
google-apis-rs/etc/api/shared.yaml
Sebastian Thiel 6d2b0fc264 fix(scope): scopes are sorted Strings now
That way, we make retrieved tokens independent of the order scopes
were passed in. Additionally, we can pass any scopes, just in case
someone uses one token for multiple APIs.
Let's keep it flexible.
2015-03-10 09:31:29 +01:00

52 lines
1.4 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
properties:
# additional fields specified by the user
params: '_additional_params'
# custom scopes for authentication
scopes: '_scopes'
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'