More cleanup before upgrading to OpenAPI 3.1 (#1455)
* `cross_signing_key.yaml`: the parameter documentation already restricts the number of properties * `receipts.yaml`: use `maxProperties: 0` to say the object is empty (the comment is still there but is not really needed any more) Signed-off-by: Alexey Rusakov <Kitsune.Ral@users.sf.net>
This commit is contained in:
parent
c0955a6aee
commit
b441b19cc3
3 changed files with 5 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Fix various typos throughout the specification.
|
|
@ -35,6 +35,8 @@ properties:
|
|||
The public key. The object must have exactly one property, whose name is
|
||||
in the form `<algorithm>:<unpadded_base64_public_key>`, and whose value
|
||||
is the unpadded base64 public key.
|
||||
minProperties: 1
|
||||
maxProperties: 1
|
||||
example:
|
||||
"ed25519:alice+base64+public+key": "alice+base64+public+key"
|
||||
signatures:
|
||||
|
|
|
@ -93,7 +93,8 @@ paths:
|
|||
application/json: {
|
||||
}
|
||||
schema:
|
||||
type: object # empty json object
|
||||
type: object
|
||||
maxProperties: 0 # empty json object
|
||||
429:
|
||||
description: This request was rate-limited.
|
||||
schema:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue