Skip to content

fix: make Request-Signature header optional in shopping spec - #637

Open
sbeashwar wants to merge 1 commit into
Universal-Commerce-Protocol:release/2026-01-23from
sbeashwar:fix/request-signature-optional-2026-01-23
Open

fix: make Request-Signature header optional in shopping spec#637
sbeashwar wants to merge 1 commit into
Universal-Commerce-Protocol:release/2026-01-23from
sbeashwar:fix/request-signature-optional-2026-01-23

Conversation

@sbeashwar

Copy link
Copy Markdown
Contributor

What

Makes the Request-Signature header parameter optional (required: false) in the shopping REST spec, in both the source/ and generated spec/ OpenAPI, and clarifies its description.

Why

The shopping OpenAPI marks Request-Signature as required: true on every operation, which contradicts this release's own Message Signatures spec (signatures.md, "When Signatures Apply"): platforms SHOULD sign requests, and MAY use alternative authentication (API keys, OAuth, mTLS) instead. As written, the OpenAPI forces a signature header even when a platform authenticates by another mechanism, and clients/validators generated from this spec reject otherwise-valid unsigned requests.

main already treats request signing as optional (the header is not unconditionally required there). This backports that intent to the 2026-01-23 release with a minimal, backward-compatible change - it does not pull in main's larger RFC 9421 header restructure. Existing signed requests remain valid; the only effect is that unsigned requests using alternative auth are no longer rejected by the spec.

Scope

  • source/services/shopping/openapi.json
  • spec/services/shopping/rest.openapi.json

No behavioral change for signed requests; no schema fields added or removed. Consistent with prior backports to this release branch (e.g. #212, #228).

Addresses #636.

@sbeashwar
sbeashwar marked this pull request as ready for review July 29, 2026 22:17
@damaz91 damaz91 added status:needs-triage Signal that the PR is ready for human triage status:under-review gov:needs-tc-review and removed status:needs-triage Signal that the PR is ready for human triage labels Jul 29, 2026
@damaz91
damaz91 requested review from sdedeo2025 and vixdug July 31, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants