Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Devices to add version s…
Browse files Browse the repository at this point in the history
…table/2020-03-01 (#12914)

* fixing existing api version swagger correctness

* fixing the example

* fixing arm error in validation - reverting changes as needs to be
included in new version

* moving the breaking changes to new version

* changing example file and bringing api spec in parity with the existing
api functionality

* adding prettier check validation fix

* fixing model validation

* cert or pem content is byte format

* prettier validation fix

* removing lintdiff errors

* adding a format type for cert
  • Loading branch information
sudeepmsft committed Mar 1, 2021
1 parent 1c148c3 commit 3e1d53e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"properties": {
"subject": "CN=testdevice1",
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
"certificate": "############################################",
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
"isVerified": false,
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"subject": "CN=andbucdevice1",
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
"thumbprint": "##############################",
"certificate": "###########################",
"isVerified": false,
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
"updated": "Thu, 12 Oct 2017 19:26:56 GMT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"subject": "CN=testdevice1",
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
"certificate": "######################################",
"isVerified": false,
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
"updated": "Thu, 12 Oct 2017 19:23:50 GMT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"properties": {
"subject": "CN=andbucdevice1",
"expiry": "Sat, 31 Dec 2039 23:59:59 GMT",
"certificate": "#####################################",
"thumbprint": "97388663832D0393C9246CAB4FBA2C8677185A25",
"isVerified": true,
"created": "Thu, 12 Oct 2017 19:23:50 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1716,6 +1716,12 @@
"type": "boolean",
"readOnly": true
},
"certificate": {
"description": "base-64 representation of X509 certificate .cer file or just .pem file content.",
"type": "string",
"format": "byte",
"readOnly": true
},
"created": {
"description": "The certificate's creation date and time.",
"type": "string",
Expand Down Expand Up @@ -2440,6 +2446,11 @@
"type": "boolean",
"description": "Indicate if the certificate is verified by owner of private key."
},
"certificate": {
"description": "base-64 representation of X509 certificate .cer file or just .pem file content.",
"type": "string",
"format": "byte"
},
"created": {
"type": "string",
"description": "Certificate created time."
Expand Down

0 comments on commit 3e1d53e

Please sign in to comment.