OLD | NEW |
| (Empty) |
1 { | |
2 "basePath": "/testing/v1/testapi/v2/", | |
3 "baseUrl": "https://example.com/testing/v1/testapi/v2/", | |
4 "description": "A testing API", | |
5 "discoveryVersion": "v1", | |
6 "id": "testapi:v2", | |
7 "kind": "discovery#restDescription", | |
8 "methods": { | |
9 "test": { | |
10 "description": "API Test Method", | |
11 "httpMethod": "GET", | |
12 "id": "test", | |
13 "parameters": { | |
14 "value": { | |
15 "location": "query", | |
16 "required": true, | |
17 "type": "string" | |
18 } | |
19 }, | |
20 "path": "testMethod", | |
21 "request": { | |
22 "$ref": "TestRequest", | |
23 "parameterName": "resource" | |
24 } | |
25 } | |
26 }, | |
27 "name": "testapi", | |
28 "protocol": "rest", | |
29 "rootUrl": "https://example.com/testing/v1", | |
30 "schemas": { | |
31 "TestRequest": { | |
32 "description": "Test Method Request", | |
33 "id": "TestRequest", | |
34 "properties": { | |
35 "value": { | |
36 "$ref": "ValueType" | |
37 } | |
38 }, | |
39 "type": "object" | |
40 } | |
41 }, | |
42 "servicePath": "testapi/v2/", | |
43 "version": "v2" | |
44 } | |
OLD | NEW |