-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
172bfc3
commit c9a26c6
Showing
13 changed files
with
242 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tools/apiview/parsers/apiview-treestyle-parser-schema/json-schema/APITreeNodeId.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "APITreeNodeId.json", | ||
"type": "string" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 5 additions & 6 deletions
11
tools/apiview/parsers/apiview-treestyle-parser-schema/json-schema/CodeDiagnosticLevel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "CodeDiagnosticLevel.json", | ||
"type": "string", | ||
"type": "number", | ||
"enum": [ | ||
"Default", | ||
"Info", | ||
"Warning", | ||
"Error", | ||
"Fatal" | ||
1, | ||
2, | ||
3, | ||
4 | ||
] | ||
} |
123 changes: 123 additions & 0 deletions
123
tools/apiview/parsers/apiview-treestyle-parser-schema/json-schema/CodeFile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "CodeFile.json", | ||
"type": "object", | ||
"properties": { | ||
"VersionString": { | ||
"type": "string", | ||
"description": "The version of the parser" | ||
}, | ||
"Name": { | ||
"type": "string", | ||
"description": "Name the ocde file. Usually just the package name and version" | ||
}, | ||
"Language": { | ||
"anyOf": [ | ||
{ | ||
"type": "string", | ||
"const": "C" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "C#" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "C++" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Go" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Java" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "JavaScript" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Json" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Kotlin" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Python" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Swagger" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Swift" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "TypeSpec" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Xml" | ||
} | ||
] | ||
}, | ||
"LanguageVariant": { | ||
"anyOf": [ | ||
{ | ||
"type": "string", | ||
"const": "Default" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Spring" | ||
}, | ||
{ | ||
"type": "string", | ||
"const": "Android" | ||
} | ||
], | ||
"default": "Default" | ||
}, | ||
"PackageName": { | ||
"type": "string" | ||
}, | ||
"ServiceName": { | ||
"type": "string" | ||
}, | ||
"PackageVersion": { | ||
"type": "string" | ||
}, | ||
"CrossLanguagePackageId": { | ||
"type": "string", | ||
"description": "Maps related packages across Languages" | ||
}, | ||
"APIForest": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "APITreeNode.json" | ||
}, | ||
"description": "The API Tree(s)" | ||
}, | ||
"Diagnostics": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "CodeDiagnostic.json" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"VersionString", | ||
"Name", | ||
"Language", | ||
"PackageName", | ||
"PackageVersion", | ||
"APIForest", | ||
"Diagnostics" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tools/apiview/parsers/apiview-treestyle-parser-schema/json-schema/StructuredTokenId.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "StructuredTokenId.json", | ||
"type": "string" | ||
} |
12 changes: 6 additions & 6 deletions
12
tools/apiview/parsers/apiview-treestyle-parser-schema/json-schema/StructuredTokenKind.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "StructuredTokenKind.json", | ||
"type": "string", | ||
"type": "number", | ||
"enum": [ | ||
"Content", | ||
"LineBreak", | ||
"NonBreakingSpace", | ||
"TabSpace", | ||
"ParameterSeparator" | ||
0, | ||
1, | ||
2, | ||
3, | ||
4 | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.