aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorJoe Gregorio <jcgregorio@google.com>2011-01-31 21:55:21 -0500
committerJoe Gregorio <jcgregorio@google.com>2011-01-31 21:55:21 -0500
commit7a6df3a31aee98dbaf71311a18068ed7e95a2391 (patch)
treea548784860e4cf2a72f906b3cdeefc2013f4d808 /tests/data
parent28ee089ca3370cd4ad56f053cc3e0fee457419d5 (diff)
downloadoauth2client-7a6df3a31aee98dbaf71311a18068ed7e95a2391.tar.gz
Fix lack of top level methods from a service.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/zoo.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/data/zoo.json b/tests/data/zoo.json
index f83e9dd..4f90c3d 100644
--- a/tests/data/zoo.json
+++ b/tests/data/zoo.json
@@ -4,6 +4,20 @@
"description": "Zoo API used for testing",
"restBasePath": "/zoo",
"rpcPath": "/rpc",
+ "methods": {
+ "query": {
+ "restPath": "query",
+ "rpcMethod": "bigquery.query",
+ "httpMethod": "GET",
+ "parameters": {
+ "q": {
+ "restParameterType": "query",
+ "required": false,
+ "repeated": false
+ }
+ }
+ }
+ },
"resources": {
"my": {
"resources": {