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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "simple_api", 3 "namespace": "simple_api",
4 "description": "This is a simple API.",
4 "types": [ 5 "types": [
5 { 6 {
6 "id": "TestType", 7 "id": "TestType",
7 "type": "object", 8 "type": "object",
8 "properties": { 9 "properties": {
9 "string": { 10 "string": {
10 "type": "string", 11 "type": "string",
11 "description": "Some string." 12 "description": "Some string."
12 }, 13 },
13 "boolean": { 14 "boolean": {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 "parameters": [ 154 "parameters": [
154 { 155 {
155 "name": "someTestType", 156 "name": "someTestType",
156 "$ref": "TestType" 157 "$ref": "TestType"
157 } 158 }
158 ] 159 ]
159 } 160 }
160 ] 161 ]
161 } 162 }
162 ] 163 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/permissions.json ('k') | tools/json_schema_compiler/test/tabs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698