Skip to content

Commit 070e139

Browse files
authored
Resolve inconsistency between spec and service/client implementation (#12966)
1 parent a2a3da0 commit 070e139

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/securitydomain.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
}
118118
}
119119
},
120-
"/securitydomain/transferkey": {
120+
"/securitydomain/upload": {
121121
"get": {
122122
"tags": [
123123
"HSMSecurityDomain"
@@ -148,9 +148,7 @@
148148
"$ref": "./examples/securitydomaintransferkey-example.json"
149149
}
150150
}
151-
}
152-
},
153-
"/securitydomain/upload": {
151+
},
154152
"post": {
155153
"tags": [
156154
"HSMSecurityDomain"
@@ -291,8 +289,7 @@
291289
"properties": {
292290
"value": {
293291
"type": "string",
294-
"format": "base64url",
295-
"description": "A blob containing the Security Domain."
292+
"description": "The Security Domain."
296293
}
297294
},
298295
"description": "The Security Domain.",

specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/securitydomain.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"final-state-via": "azure-async-operation"
6666
},
6767
"operationId": "HSMSecurityDomain_Download",
68-
"description": "Retrieves the Security Domain from the managed HSM. Calling this endpoint can be used to activated a provisioned managed HSM resource.",
68+
"description": "Retrieves the Security Domain from the managed HSM. Calling this endpoint can be used to activate a provisioned managed HSM resource.",
6969
"parameters": [
7070
{
7171
"in": "body",
@@ -74,7 +74,7 @@
7474
"schema": {
7575
"$ref": "#/definitions/CertificateInfoObject"
7676
},
77-
"description": "Security Domain download operation requires customer to provide N certificates (minimum 3 and maximum 10) containing public key in JWK format."
77+
"description": "The Security Domain download operation requires customer to provide N certificates (minimum 3 and maximum 10) containing a public key in JWK format."
7878
},
7979
{
8080
"$ref": "#/parameters/ApiVersionParameter"
@@ -117,7 +117,7 @@
117117
}
118118
}
119119
},
120-
"/securitydomain/transferkey": {
120+
"/securitydomain/upload": {
121121
"get": {
122122
"tags": [
123123
"HSMSecurityDomain"
@@ -148,9 +148,7 @@
148148
"$ref": "./examples/securitydomaintransferkey-example.json"
149149
}
150150
}
151-
}
152-
},
153-
"/securitydomain/upload": {
151+
},
154152
"post": {
155153
"tags": [
156154
"HSMSecurityDomain"
@@ -291,8 +289,7 @@
291289
"properties": {
292290
"value": {
293291
"type": "string",
294-
"format": "base64url",
295-
"description": "A blob containing the Security Domain."
292+
"description": "The Security Domain."
296293
}
297294
},
298295
"description": "The Security Domain.",
@@ -328,7 +325,7 @@
328325
},
329326
"kty": {
330327
"type": "string",
331-
"description": "JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. For Security Domain this value must be RSA"
328+
"description": "JsonWebKey Key Type (kty), as defined in https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. For Security Domain this value must be RSA."
332329
},
333330
"key_ops": {
334331
"type": "array",

0 commit comments

Comments
 (0)