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

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

Issue 9456007: Add wider support to json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: reupload Created 8 years, 9 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": "objects",
4 "types": [],
5 "functions": [
6 {
7 "name": "objectParam",
8 "type": "function",
9 "description": "Takes an object.",
10 "parameters": [
11 {
12 "name": "info",
13 "type": "object",
14 "properties": {
15 "strings": {
16 "type": "array",
17 "items": {"type": "string"}
18 },
19 "integer": {
20 "type": "integer"
21 },
22 "boolean": {
23 "type": "boolean"
24 }
25 }
26 },
27 {
28 "name": "callback",
29 "type": "function",
30 "parameters": []
31 }
32 ]
33 },
34 {
35 "name": "returnsObject",
36 "description": "Returns an object.",
37 "type": "function",
38 "parameters": [
39 {
40 "name": "callback",
41 "type": "function",
42 "parameters": [
43 {
44 "name": "info",
45 "type": "object",
46 "properties": {
47 "state": {
48 "type": "string",
49 "enum": ["foo", "bar", "baz"]
50 }
51 }
52 }
53 ]
54 }
55 ]
56 }
57 ]
58 }
59 ]
60
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/json_schema_compiler_tests.gyp ('k') | tools/json_schema_compiler/test/objects_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698