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

Side by Side Diff: chrome/common/extensions/docs/server2/test_data/test_json/test_file.json

Issue 10577022: Extensions Docs Server: HandlebarDictGenerator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor changes Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 [
2 {
3 "namespace": "tester",
4 "types": [
5 {
6 "id": "TypeA",
7 "type": "object",
8 "description": "A cool thing.",
9 "properties": {
10 "a": {"nodoc": true, "type": "string", "minimum": 0},
11 "b": {"type": "array", "optional": true, "items": {"$ref": "TypeA"}, " description": "List of TypeA."}
12 }
13 }
14 ],
15 "functions": [
16 {
17 "name": "get",
18 "type": "function",
19 "description": "Gets stuff.",
20 "parameters": [
21 {
22 "name": "a",
23 "description": "a param",
24 "choices": [
25 {"type": "string"},
26 {"type": "array", "items": {"type": "string"}, "minItems": 1}
27 ]
28 },
29 {
30 "type": "function",
31 "name": "callback",
32 "parameters": [
33 {"name": "results", "type": "array", "items": { "$ref": "TypeA"} }
34 ]
35 }
36 ]
37 }
38 ],
39 "events": [
40 {
41 "name": "EventA",
42 "type": "function",
43 "description": "A cool event.",
44 "parameters": [
45 {"type": "string", "name": "id"},
46 {
47 "$ref": "TypeA",
48 "name": "bookmark"
49 }
50 ]
51 }
52 ]
53 }
54 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698