Fix level of examples in server keys definition (#1560)
This commit is contained in:
parent
3c5355a278
commit
7a142936f5
2 changed files with 12 additions and 11 deletions
|
@ -0,0 +1 @@
|
||||||
|
Fix level of examples in server keys definition.
|
|
@ -33,17 +33,17 @@ properties:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: object
|
type: object
|
||||||
title: Verify Key
|
title: Verify Key
|
||||||
example: {
|
|
||||||
"ed25519:abc123": {
|
|
||||||
"key": "VGhpcyBzaG91bGQgYmUgYSByZWFsIGVkMjU1MTkgcGF5bG9hZA"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
type: string
|
type: string
|
||||||
description: The [Unpadded base64](/appendices/#unpadded-base64) encoded key.
|
description: The [Unpadded base64](/appendices/#unpadded-base64) encoded key.
|
||||||
example: "VGhpcyBzaG91bGQgYmUgYSByZWFsIGVkMjU1MTkgcGF5bG9hZA"
|
example: "VGhpcyBzaG91bGQgYmUgYSByZWFsIGVkMjU1MTkgcGF5bG9hZA"
|
||||||
required: ["key"]
|
required: ["key"]
|
||||||
|
example: {
|
||||||
|
"ed25519:abc123": {
|
||||||
|
"key": "VGhpcyBzaG91bGQgYmUgYSByZWFsIGVkMjU1MTkgcGF5bG9hZA"
|
||||||
|
}
|
||||||
|
}
|
||||||
old_verify_keys:
|
old_verify_keys:
|
||||||
type: object
|
type: object
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -56,12 +56,6 @@ properties:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: object
|
type: object
|
||||||
title: Old Verify Key
|
title: Old Verify Key
|
||||||
example: {
|
|
||||||
"ed25519:0ldK3y": {
|
|
||||||
"expired_ts": 1532645052628,
|
|
||||||
"key": "VGhpcyBzaG91bGQgYmUgeW91ciBvbGQga2V5J3MgZWQyNTUxOSBwYXlsb2FkLg"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
properties:
|
properties:
|
||||||
expired_ts:
|
expired_ts:
|
||||||
type: integer
|
type: integer
|
||||||
|
@ -73,6 +67,12 @@ properties:
|
||||||
description: The [Unpadded base64](/appendices/#unpadded-base64) encoded key.
|
description: The [Unpadded base64](/appendices/#unpadded-base64) encoded key.
|
||||||
example: "VGhpcyBzaG91bGQgYmUgeW91ciBvbGQga2V5J3MgZWQyNTUxOSBwYXlsb2FkLg"
|
example: "VGhpcyBzaG91bGQgYmUgeW91ciBvbGQga2V5J3MgZWQyNTUxOSBwYXlsb2FkLg"
|
||||||
required: ["expired_ts", "key"]
|
required: ["expired_ts", "key"]
|
||||||
|
example: {
|
||||||
|
"ed25519:0ldK3y": {
|
||||||
|
"expired_ts": 1532645052628,
|
||||||
|
"key": "VGhpcyBzaG91bGQgYmUgeW91ciBvbGQga2V5J3MgZWQyNTUxOSBwYXlsb2FkLg"
|
||||||
|
}
|
||||||
|
}
|
||||||
signatures:
|
signatures:
|
||||||
type: object
|
type: object
|
||||||
description: |-
|
description: |-
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue