Skip to content

Commit

Permalink
chore: Fix json schemas (#10064)
Browse files Browse the repository at this point in the history
chore: fix json schemas
  • Loading branch information
filzrev authored Jul 5, 2024
1 parent a135335 commit bca60cf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
5 changes: 5 additions & 0 deletions schemas/docfx.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@
"sitemap": {
"type": "object",
"description": "Specifies the options for the sitemap.xml file.",
"additionalProperties": false,
"properties": {
"baseUrl": {
"type": "string",
Expand Down Expand Up @@ -465,6 +466,7 @@
"markdownEngineProperties": {
"description": "Set the parameters for markdown engine, value should be a JSON string.",
"type": "object",
"additionalProperties": false,
"properties": {
"enableSourceInfo": {
"type": "boolean",
Expand Down Expand Up @@ -520,6 +522,7 @@
"plantUmlOptions": {
"type": "object",
"description": "PlantUml extension configuration parameters",
"additionalProperties": false,
"properties": {
"javaPath": {
"type": "string",
Expand Down Expand Up @@ -572,6 +575,7 @@
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"src": {
"$ref": "#/$defs/srcFileMapping"
Expand Down Expand Up @@ -742,6 +746,7 @@
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"content": {
"$ref": "#/$defs/contentFileMapping"
Expand Down
36 changes: 19 additions & 17 deletions schemas/filterconfig.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,30 @@
"properties": {
"include": {
"type": "object",
"additionalProperties": false,
"properties": {
"uidRegex": {
"type": "string"
},
"kind": {
"type": {
"$ref": "#/$defs/extendedSymbolKind"
},
"attribute": {
"hasAttribute": {
"$ref": "#/$defs/attributeFilterInfo"
}
}
},
"exclude": {
"type": "object",
"additionalProperties": false,
"properties": {
"uidRegex": {
"type": "string"
},
"kind": {
"type": {
"$ref": "#/$defs/extendedSymbolKind"
},
"attribute": {
"hasAttribute": {
"$ref": "#/$defs/attributeFilterInfo"
}
}
Expand All @@ -57,19 +59,19 @@
},
"extendedSymbolKind": {
"enum": [
"assembly",
"namespace",
"class",
"struct",
"enum",
"interface",
"delegate",
"type",
"event",
"field",
"method",
"property",
"member"
"Assembly",
"Namespace",
"Class",
"Struct",
"Enum",
"Interface",
"Delegate",
"Type",
"Event",
"Field",
"Method",
"Property",
"Member"
]
},
"attributeFilterInfo": {
Expand Down

0 comments on commit bca60cf

Please sign in to comment.