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

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

Issue 682493002: Remove the dependency on json schema compiler. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/crossref.json
diff --git a/tools/json_schema_compiler/test/crossref.json b/tools/json_schema_compiler/test/crossref.json
deleted file mode 100644
index a1e994b625b78ade8f18213c1d59e5c2c4d186d2..0000000000000000000000000000000000000000
--- a/tools/json_schema_compiler/test/crossref.json
+++ /dev/null
@@ -1,76 +0,0 @@
-[
- {
- "namespace": "crossref",
- "description": "The crossref API.",
- "dependencies": ["simple_api"],
- "types": [
- {
- "id": "CrossrefType",
- "type": "object",
- "properties": {
- "testType": {
- "$ref": "simple_api.TestType",
- "optional": true
- }
- }
- }
- ],
- "functions": [
- {
- "name": "testTypeOptionalParam",
- "type": "function",
- "description": "Takes TestType as a param.",
- "parameters": [
- {
- "name": "testType",
- "$ref": "simple_api.TestType",
- "optional": true
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": []
- }
- ]
- },
- {
- "name": "getTestType",
- "type": "function",
- "description": "Return a TestType.",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "parameters": [
- {
- "name": "result",
- "$ref": "simple_api.TestType",
- "description": "A TestType."
- }
- ]
- }
- ]
- },
- {
- "name": "testTypeInObject",
- "type": "function",
- "description": "Takes an optional object with a TestType and a bool.",
- "parameters": [
- {
- "name": "paramObject",
- "type": "object",
- "properties": {
- "testType": {"$ref": "simple_api.TestType", "optional": true},
- "boolean": {"type": "boolean"}
- }
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": []
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « tools/json_schema_compiler/test/content_settings.json ('k') | tools/json_schema_compiler/test/crossref_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698