Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: tools/json_schema_compiler/test/crossref.json

Issue 9309044: Supporting more APIs with json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rework, add a couple of tests Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [
2 {
3 "namespace": "crossref",
4 "types": [],
5 "functions": [
6 {
7 "name": "TestTypeOptionalParam",
8 "type": "function",
9 "description": "Takes TestType as a param.",
10 "parameters": [
11 {
12 "name": "testType",
13 "$ref": "TestType",
14 "optional": true
15 },
16 {
17 "name": "callback",
18 "type": "function",
19 "parameters": []
20 }
21 ]
22 },
23 {
24 "name": "getTestType",
25 "type": "function",
26 "description": "Return a TestType.",
27 "parameters": [
28 {
29 "name": "callback",
30 "type": "function",
31 "parameters": [
32 {
33 "name": "result",
34 "$ref": "TestType",
35 "description": "A TestType."
36 }
37 ]
38 }
39 ]
40 }
41 ]
42 }
43 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/choices_unittest.cc ('k') | tools/json_schema_compiler/test/crossref_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698