Skip to content

fix(openapi): add missing signature headers to get_order 200 response#422

Open
paragsam wants to merge 1 commit intoUniversal-Commerce-Protocol:mainfrom
paragsam:fix/get-order-signature-headers
Open

fix(openapi): add missing signature headers to get_order 200 response#422
paragsam wants to merge 1 commit intoUniversal-Commerce-Protocol:mainfrom
paragsam:fix/get-order-signature-headers

Conversation

@paragsam
Copy link
Copy Markdown

@paragsam paragsam commented May 7, 2026

Fixes #364
The get_order operation (GET /orders/{id}) was the only endpoint missing the standard signature response headers present in all other operations.
Added to the get_order 200 response:

  • Signature#/components/headers/signature
  • Signature-Input#/components/headers/signature_input
  • Content-Digest#/components/headers/content_digest
    No new components introduced — these $refs already exist and are used by every other operation. JSON remains valid.

The get_order operation was the only endpoint missing the standard
Signature, Signature-Input, and Content-Digest response headers declared
via component refs. This omission caused OpenAPI code generators to
exclude signature header access for order responses and contradicted the
consistent header pattern across all other operations.

Fixes Universal-Commerce-Protocol#364
@paragsam paragsam requested review from a team as code owners May 7, 2026 22:57
@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 7, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_order response missing standard signature headers

1 participant