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

Unified Diff: tools/json_schema_compiler/test/arrays.json

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: tools/json_schema_compiler/test/arrays.json
diff --git a/tools/json_schema_compiler/test/arrays.json b/tools/json_schema_compiler/test/arrays.json
index 23314e92f872779fcdd08daa85f026156f10c214..3dfeeb890aebb898437aed9e114be04344f23227 100644
--- a/tools/json_schema_compiler/test/arrays.json
+++ b/tools/json_schema_compiler/test/arrays.json
@@ -4,19 +4,6 @@
"description": "The arrays API.",
"types": [
{
- "id": "EnumArrayType",
- "type": "object",
- "properties": {
- "types": {
- "type": "array",
- "items": {
- "type": "string",
- "enum": ["one", "two", "three"]
- }
- }
- }
- },
- {
"id": "Enumeration",
"type": "string",
"enum": ["one", "two", "three"]
@@ -37,13 +24,6 @@
"id": "EnumArrayMixed",
"type": "object",
"properties": {
- "inline_enums": {
- "type": "array",
- "items": {
- "type": "string",
- "enum": ["one", "two", "three"]
- }
- },
"infile_enums": {
"type": "array",
"items": {
@@ -65,8 +45,7 @@
"types": {
"type": "array",
"items": {
- "type": "string",
- "enum": ["one", "two", "three"]
+ "$ref": "Enumeration"
},
"optional": true
}

Powered by Google App Engine
This is Rietveld 408576698