You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should support returning a response formatted as a TransparencyLogEntry (TLE) per the specification. This will be used by Sigstore clients who currently have to transform the Rekor response into the spec-compliant struct.
after reviewing, there's a problem in that we cannot take a TLE and convert back into a models.LogEntry because we don't have the tree ID to correctly set the entryUUID. While most tests still pass, others expect the full entryUUID and therefore I think this will significantly break clients. Given the flaky nature of go-openapi's Accept header support, and this fact, I think we'll have to punt this to the v2 api.
Description
We should support returning a response formatted as a
TransparencyLogEntry
(TLE) per the specification. This will be used by Sigstore clients who currently have to transform the Rekor response into the spec-compliant struct.We should be able to implement this as a custom response type in OpenAPI - https://swagger.io/docs/specification/2-0/describing-responses/
The text was updated successfully, but these errors were encountered: