Skip to content

Commit

Permalink
Replaced disallowed HTML chars and added a missing connection string …
Browse files Browse the repository at this point in the history
…value (#26265)

* Replaced disallowed HTML chars and added a missing value

* Fixed sev-1 policheck error
  • Loading branch information
HeidiSteen authored and jnlycklama committed Nov 8, 2023
1 parent 4f3d1d0 commit fac387b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
}
]
},
"description": "This parameter is only valid if the query type is 'semantic'. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character '|' followed by the 'count-<number of answers>' option after the answers parameter value, such as 'extractive|count-3'. Default count is 1. The confidence threshold can be configured by appending the pipe character '|' followed by the 'threshold-<confidence threshold>' option after the answers parameter value, such as 'extractive|threshold-0.9'. Default threshold is 0.7.",
"description": "This parameter is only valid if the query type is `semantic`. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character `|` followed by the `count-<number of answers>` option after the answers parameter value, such as `extractive|count-3`. Default count is 1. The confidence threshold can be configured by appending the pipe character `|` followed by the `threshold-<confidence threshold>` option after the answers parameter value, such as `extractive|threshold-0.9`. Default threshold is 0.7.",
"x-ms-parameter-grouping": {
"name": "SearchOptions"
}
Expand Down Expand Up @@ -550,7 +550,7 @@
}
]
},
"description": "This parameter is only valid if the query type is 'semantic'. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to 'extractive', highlighting is enabled by default, and can be configured by appending the pipe character '|' followed by the 'highlight-<true/false>' option, such as 'extractive|highlight-true'. Defaults to 'None'.",
"description": "This parameter is only valid if the query type is `semantic`. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to `extractive`, highlighting is enabled by default, and can be configured by appending the pipe character `|` followed by the `highlight-<true/false>` option, such as `extractive|highlight-true`. Defaults to `None`.",
"x-ms-parameter-grouping": {
"name": "SearchOptions"
}
Expand Down Expand Up @@ -1819,7 +1819,7 @@
}
]
},
"description": "This parameter is only valid if the query type is 'semantic'. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character '|' followed by the 'count-<number of answers>' option after the answers parameter value, such as 'extractive|count-3'. Default count is 1. The confidence threshold can be configured by appending the pipe character '|' followed by the 'threshold-<confidence threshold>' option after the answers parameter value, such as 'extractive|threshold-0.9'. Default threshold is 0.7."
"description": "This parameter is only valid if the query type is `semantic`. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character `|` followed by the `count-<number of answers>` option after the answers parameter value, such as `extractive|count-3`. Default count is 1. The confidence threshold can be configured by appending the pipe character `|` followed by the `threshold-<confidence threshold>` option after the answers parameter value, such as `extractive|threshold-0.9`. Default threshold is 0.7."
},
"Captions": {
"type": "string",
Expand All @@ -1843,7 +1843,7 @@
}
]
},
"description": "This parameter is only valid if the query type is 'semantic'. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to 'extractive', highlighting is enabled by default, and can be configured by appending the pipe character '|' followed by the 'highlight-<true/false>' option, such as 'extractive|highlight-true'. Defaults to 'None'."
"description": "This parameter is only valid if the query type is `semantic`. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to `extractive`, highlighting is enabled by default, and can be configured by appending the pipe character `|` followed by the `highlight-<true/false>` option, such as `extractive|highlight-true`. Defaults to `None`."
},
"VectorQuery": {
"type": "object",
Expand Down Expand Up @@ -2345,7 +2345,7 @@
{
"value": "gl-es",
"name": "GlEs",
"description": "Query language value for Galician (Spain)."
"description": "Query language value for Galician."
},
{
"value": "gu-in",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6488,7 +6488,7 @@
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Data-Source"
},
"type": "string",
"description": "The connection string for the datasource. Set to '<unchanged>' if you do not want the connection string updated."
"description": "The connection string for the datasource. Set to `<unchanged>` (with brackets) if you don't want the connection string updated. Set to `<redacted>` if you want to remove the connection string value from the datasource."
}
},
"description": "Represents credentials that can be used to connect to a datasource."
Expand Down Expand Up @@ -11728,7 +11728,7 @@
"keyVaultUri": {
"x-ms-client-name": "vaultUri",
"type": "string",
"description": "The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be https://my-keyvault-name.vault.azure.net."
"description": "The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be `https://my-keyvault-name.vault.azure.net`."
},
"accessCredentials": {
"$ref": "#/definitions/AzureActiveDirectoryApplicationCredentials",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
}
]
},
"description": "This parameter is only valid if the query type is 'semantic'. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character '|' followed by the 'count-<number of answers>' option after the answers parameter value, such as 'extractive|count-3'. Default count is 1. The confidence threshold can be configured by appending the pipe character '|' followed by the 'threshold-<confidence threshold>' option after the answers parameter value, such as 'extractive|threshold-0.9'. Default threshold is 0.7.",
"description": "This parameter is only valid if the query type is `semantic`. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character `|` followed by the `count-<number of answers>` option after the answers parameter value, such as `extractive|count-3`. Default count is 1. The confidence threshold can be configured by appending the pipe character `|` followed by the `threshold-<confidence threshold>` option after the answers parameter value, such as `extractive|threshold-0.9`. Default threshold is 0.7.",
"x-ms-parameter-grouping": {
"name": "SearchOptions"
}
Expand Down Expand Up @@ -463,7 +463,7 @@
}
]
},
"description": "This parameter is only valid if the query type is 'semantic'. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to 'extractive', highlighting is enabled by default, and can be configured by appending the pipe character '|' followed by the 'highlight-<true/false>' option, such as 'extractive|highlight-true'. Defaults to 'None'.",
"description": "This parameter is only valid if the query type is `semantic`. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to `extractive`, highlighting is enabled by default, and can be configured by appending the pipe character `|` followed by the `highlight-<true/false>` option, such as `extractive|highlight-true`. Defaults to `None`.",
"x-ms-parameter-grouping": {
"name": "SearchOptions"
}
Expand Down Expand Up @@ -1204,7 +1204,7 @@
"readOnly": true,
"x-ms-client-name": "RerankerScore",
"x-nullable": true,
"description": "The relevance score computed by the semantic ranker for the top search results. Search results are sorted by the RerankerScore first and then by the Score. RerankerScore is only returned for queries of type 'semantic'."
"description": "The relevance score computed by the semantic ranker for the top search results. Search results are sorted by the RerankerScore first and then by the Score. RerankerScore is only returned for queries of type `semantic`."
},
"@search.highlights": {
"type": "object",
Expand All @@ -1226,7 +1226,7 @@
"readOnly": true,
"x-ms-client-name": "Captions",
"x-nullable": true,
"description": "Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'."
"description": "Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type `semantic`."
}
},
"required": [
Expand Down Expand Up @@ -1912,7 +1912,7 @@
}
},
"additionalProperties": true,
"description": "Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'.."
"description": "Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type `semantic`."
},
"SemanticPartialResponseReason": {
"type": "string",
Expand All @@ -1928,7 +1928,7 @@
{
"value": "maxWaitExceeded",
"name": "MaxWaitExceeded",
"description": "If 'semanticMaxWaitInMilliseconds' was set and the semantic processing duration exceeded that value. Only the base results were returned."
"description": "If `semanticMaxWaitInMilliseconds` was set and the semantic processing duration exceeded that value. Only the base results were returned."
},
{
"value": "capacityOverloaded",
Expand Down Expand Up @@ -2014,7 +2014,7 @@
}
]
},
"description": "This parameter is only valid if the query type is 'semantic'. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character '|' followed by the 'count-<number of answers>' option after the answers parameter value, such as 'extractive|count-3'. Default count is 1. The confidence threshold can be configured by appending the pipe character '|' followed by the 'threshold-<confidence threshold>' option after the answers parameter value, such as 'extractive|threshold-0.9'. Default threshold is 0.7."
"description": "This parameter is only valid if the query type is `semantic`. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character `|` followed by the `count-<number of answers>` option after the answers parameter value, such as `extractive|count-3`. Default count is 1. The confidence threshold can be configured by appending the pipe character `|` followed by the `threshold-<confidence threshold>` option after the answers parameter value, such as `extractive|threshold-0.9`. Default threshold is 0.7."
},
"Captions": {
"type": "string",
Expand All @@ -2038,7 +2038,7 @@
}
]
},
"description": "This parameter is only valid if the query type is 'semantic'. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to 'extractive', highlighting is enabled by default, and can be configured by appending the pipe character '|' followed by the 'highlight-<true/false>' option, such as 'extractive|highlight-true'. Defaults to 'None'."
"description": "This parameter is only valid if the query type is `semantic`. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to `extractive`, highlighting is enabled by default, and can be configured by appending the pipe character `|` followed by the `highlight-<true/false>` option, such as `extractive|highlight-true`. Defaults to `None`."
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "Selects which top-level properties of the data sources to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
"description": "Selects which top-level properties of the data sources to retrieve. Specified as a comma-separated list of JSON property names, or `*` for all properties. The default is all properties."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
Expand Down Expand Up @@ -561,7 +561,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "Selects which top-level properties of the indexers to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
"description": "Selects which top-level properties of the indexers to retrieve. Specified as a comma-separated list of JSON property names, or `*` for all properties. The default is all properties."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
Expand Down Expand Up @@ -869,7 +869,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "Selects which top-level properties of the skillsets to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
"description": "Selects which top-level properties of the skillsets to retrieve. Specified as a comma-separated list of JSON property names, or `*` for all properties. The default is all properties."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
Expand Down Expand Up @@ -1130,7 +1130,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "Selects which top-level properties of the synonym maps to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
"description": "Selects which top-level properties of the synonym maps to retrieve. Specified as a comma-separated list of JSON property names, or `*` for all properties. The default is all properties."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
Expand Down Expand Up @@ -1271,7 +1271,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "Selects which top-level properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
"description": "Selects which top-level properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or `*` for all properties. The default is all properties."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
Expand Down Expand Up @@ -5738,7 +5738,7 @@
"url": "https://learn.microsoft.com/rest/api/searchservice/Create-Data-Source"
},
"type": "string",
"description": "The connection string for the datasource. Set to '<unchanged>' if you do not want the connection string updated."
"description": "The connection string for the datasource. Set to `<unchanged>` (with brackets) if you don't want the connection string updated. Set to `<redacted>` if you want to remove the connection string value from the datasource."
}
},
"description": "Represents credentials that can be used to connect to a datasource."
Expand Down Expand Up @@ -7088,7 +7088,7 @@
"items": {
"type": "string"
},
"description": "The list of origins from which JavaScript code will be granted access to your index. Can contain a list of hosts of the form {protocol}://{fully-qualified-domain-name}[:{port#}], or a single '*' to allow all origins (not recommended)."
"description": "The list of origins from which JavaScript code will be granted access to your index. Can contain a list of hosts of the form {protocol}://{fully-qualified-domain-name}[:{port#}], or a single `*` to allow all origins (not recommended)."
},
"maxAgeInSeconds": {
"type": "integer",
Expand Down Expand Up @@ -7546,7 +7546,7 @@
},
"name": {
"type": "string",
"description": "The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'."
"description": "The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character `#`."
},
"description": {
"type": "string",
Expand Down Expand Up @@ -8071,7 +8071,7 @@
"type": "string",
"x-nullable": true,
"maxLength": 1,
"description": "The character used to mask the text if the maskingMode parameter is set to replace. Default is '*'."
"description": "The character used to mask the text if the maskingMode parameter is set to replace. Default is `*`."
},
"modelVersion": {
"type": "string",
Expand Down Expand Up @@ -10452,7 +10452,7 @@
"keyVaultUri": {
"x-ms-client-name": "vaultUri",
"type": "string",
"description": "The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be https://my-keyvault-name.vault.azure.net."
"description": "The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be `https://my-keyvault-name.vault.azure.net`."
},
"accessCredentials": {
"$ref": "#/definitions/AzureActiveDirectoryApplicationCredentials",
Expand Down

0 comments on commit fac387b

Please sign in to comment.