Skip to content

Commit

Permalink
fix Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
SerenaLin2020 committed Apr 23, 2024
1 parent 9e73296 commit f3f1ca8
Showing 1 changed file with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6953,7 +6953,7 @@
},
"properties": {
"type": "object",
"description": "The additional properties of the item.",
"description": "Additional properties of the item.",
"additionalProperties": {
"type": "string"
}
Expand All @@ -6966,7 +6966,7 @@
},
"NavigationMode": {
"type": "string",
"description": "The enum of navigation mode.",
"description": "The navigation mode.",
"enum": [
"assetType",
"azureResourceHierarchy"
Expand All @@ -6981,7 +6981,8 @@
"properties": {
"path": {
"type": "string",
"description": "The identifier of the item. The path starts with an empty string or a single slash. To navigate further, you need to concatenate with a slash to form the full itemPath using the previous navigation response's relative item path."
"description": "The identifier of the item. The path starts with an empty string or a single slash. To navigate further, you need to concatenate with a slash to form the full itemPath using the previous navigation response's relative item path.",
"required": true
},
"extendedProperties": {
"type": "object",
Expand All @@ -6999,7 +7000,7 @@
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/NavigationElement"
"$ref": "#/definitions/NavigationItem"
}
},
"continuationToken": {
Expand All @@ -7009,37 +7010,43 @@
},
"description": "The response payload of the Navigation API."
},
"NavigationElement": {
"NavigationItem": {
"type": "object",
"description": "The item payload of the NavigationResult.",
"properties": {
"name": {
"type": "string",
"description": "The name of the item."
"description": "The name of the item.",
"required": true
},
"type": {
"type": "string",
"description": "The type name of the item. Eg. EntityType."
"description": "The type name of the item. Eg. EntityType.",
"required": true
},
"isLeafNode": {
"type": "boolean",
"description": "Indicates whether the item is a leaf node. If it is, further navigation is not possible."
"description": "Indicates whether the item is a leaf node. If it is, further navigation is not possible.",
"required": true
},
"isEntity": {
"type": "boolean",
"description": "Whether the item is Entity. If yes, can get complete definition of an entity given its itemPath"
"description": "Whether the item is Entity. If yes, can get complete definition of an entity given its itemPath",
"required": true
},
"itemPath": {
"$ref": "#/definitions/ItemPath"
},
"count": {
"type": "integer",
"format": "int32",
"description": "The count of the top level asset. Won't return if request payload 'includeNextLevelAssetCount' is false."
"description": "The count of the top level asset. Won't return if request payload 'includeNextLevelAssetCount' is false.",
"required": false
},
"properties": {
"type": "object",
"description": "The additional properties of the navigation element.",
"required": true,
"additionalProperties": {
"type": "string"
}
Expand Down

0 comments on commit f3f1ca8

Please sign in to comment.