Skip to content

Commit

Permalink
updated openapi example
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinrp committed Sep 27, 2023
1 parent 0de6bd0 commit b137cae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/server/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -537,15 +537,18 @@ components:
keyId: "sha256:7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730"
signature: "ecdsa-p256:MEUCIQCzWZBW6ux9LecP66Y+hjmLZTP/hZVz7puzlPTXcRT2wwIgQZO7nxP0nugtw18MwHZ26ROFWcJmgCtKOguK031Y1D0="
registryIndex: 101
fetchToken: "sha256:7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730"
- contentBytes: "ZXhhbXBsZQ=="
keyId: "sha256:7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730"
signature: "ecdsa-p256:MEUCIQCzWZBW6ux9LecP66Y+hjmLZTP/hZVz7puzlPTXcRT2wwIgQZO7nxP0nugtw18MwHZ26ROFWcJmgCtKOguK031Y1D0="
registryIndex: 305
fetchToken: "sha256:b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c"
? "sha256:b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c"
: - contentBytes: "ZXhhbXBsZQ=="
keyId: "sha256:7d865e959b2466918c9863afca942d0fb89d7c9ac0c99bafc3749504ded97730"
signature: "ecdsa-p256:MEUCIQCzWZBW6ux9LecP66Y+hjmLZTP/hZVz7puzlPTXcRT2wwIgQZO7nxP0nugtw18MwHZ26ROFWcJmgCtKOguK031Y1D0="
registryIndex: 732
fetchToken: "sha256:ygdb4e8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae00a8y"
PublishPackageRecordRequest:
type: object
description: A request to publish a record to a package log.
Expand Down Expand Up @@ -817,7 +820,7 @@ components:
fetchToken:
type: string
description: The fetch token for the registry log. Used for pagination in the fetch logs endpoint.
example: 42
example: "sha256:b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c"
- $ref: "#/components/schemas/EnvelopeBody"
- $ref: "#/components/schemas/Signature"
Signature:
Expand Down

0 comments on commit b137cae

Please sign in to comment.