Skip to content

Commit 1c148c3

Browse files
authored
[Hub Generated] Review request for Microsoft.Devices to add version stable/2020-01-01 (#12912)
* fixing swagger correctness for OBJECT_ADDITIONAL_PROPERTIES, INVALID_TYPE * resolving validation error - Swagger Correctness fix * correcting validation error - swagger corretness fix * reverting back changes - swagger correctness * reverting some changes as it might require new versioning * changing example and bringing api specs to parity * fixing the comments in PR and added the recommendation plus some validation fixes * prettier fix * model validation fix * model validation fix * fixing lintdiff error * removing the package lock file * Revert "removing the package lock file" This reverts commit 1548442. * reverting previous commit i Please enter the commit message for your changes. Lines starting
1 parent 855349e commit 1c148c3

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSCertificateCreateOrUpdate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
1818
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
1919
"isVerified": false,
20+
"certificate": "############################",
2021
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
2122
"updated": "Thu, 12 Oct 2017 19:23:50 GMT"
2223
},

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
1515
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
1616
"isVerified": false,
17+
"certificate": "72f988bf-86f1-41af-91ab-2d7cd011db47",
1718
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
1819
"updated": "Thu, 12 Oct 2017 19:23:50 GMT"
1920
},

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSGetCertificates.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
1616
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
1717
"isVerified": false,
18+
"certificate": "#############",
1819
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
1920
"updated": "Thu, 12 Oct 2017 19:23:50 GMT"
2021
},

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/examples/DPSVerifyCertificate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"certificateName": "cert",
88
"If-Match": "AAAAAAAADGk=",
99
"request": {
10-
"certificate": "#####################################"
10+
"certificate": "72f988bf-86f1-41af-91ab-2d7cd011db47"
1111
}
1212
},
1313
"responses": {
@@ -16,6 +16,7 @@
1616
"properties": {
1717
"subject": "CN=andbucdevice1",
1818
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
19+
"certificate": "72f988bf-86f1-41af-91ab-2d7cd011db47",
1920
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
2021
"isVerified": true,
2122
"created": "Thu, 12 Oct 2017 19:23:50 GMT",

specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2020-01-01/iotdps.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,12 @@
14181418
"type": "boolean",
14191419
"readOnly": true
14201420
},
1421+
"certificate": {
1422+
"description": "base-64 representation of X509 certificate .cer file or just .pem file content.",
1423+
"type": "string",
1424+
"format": "byte",
1425+
"readOnly": true
1426+
},
14211427
"created": {
14221428
"description": "The certificate's creation date and time.",
14231429
"type": "string",

0 commit comments

Comments
 (0)