summaryrefslogtreecommitdiffstats
path: root/components/test
diff options
context:
space:
mode:
authorsammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-31 03:59:12 +0000
committersammc@chromium.org <sammc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-31 03:59:12 +0000
commit8bd10c250c73a76852f9e51bcc7a8fc1d1c5b429 (patch)
tree0205bcffb519cb641e8d4f3dd2b178c6f59b3621 /components/test
parenta0ed964ede813379bbf0f0e2027111da5a987be4 (diff)
downloadchromium_src-8bd10c250c73a76852f9e51bcc7a8fc1d1c5b429.zip
chromium_src-8bd10c250c73a76852f9e51bcc7a8fc1d1c5b429.tar.gz
chromium_src-8bd10c250c73a76852f9e51bcc7a8fc1d1c5b429.tar.bz2
Docserver: Display enum value descriptions in API docs.
This modifies the json schema to allow both primitive types and dictionaries with properties "name" and optional "description" for enum values. BUG=310454 Review URL: https://codereview.chromium.org/39113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/test')
-rw-r--r--components/test/data/json_schema/enum_schema.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/test/data/json_schema/enum_schema.json b/components/test/data/json_schema/enum_schema.json
index ae0c12a..efb68de 100644
--- a/components/test/data/json_schema/enum_schema.json
+++ b/components/test/data/json_schema/enum_schema.json
@@ -1,3 +1,3 @@
{
- "enum": ["foo", 42, false]
+ "enum": ["foo", 42, {"name": false, "description": "a false value"}]
}