Skip to content

Commit bef87dd

Browse files
ynachiketdamaz91
andauthored
fix: add missing signature response headers to get_order (#370)
The get_order operation was the only REST endpoint missing Signature, Signature-Input, and Content-Digest response headers. All other operations (checkout, cart, catalog, get_product) already declare these headers, enabling codegen tools to surface signature verification and signaling to implementors that responses should be signed per the signatures spec. Closes #364 Made-with: Cursor Co-authored-by: Federico D'Amato <damaz@google.com>
1 parent b66d781 commit bef87dd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

source/services/shopping/rest.openapi.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,11 @@
673673
"responses": {
674674
"200": {
675675
"description": "Order retrieved or business outcome message",
676+
"headers": {
677+
"Signature": { "$ref": "#/components/headers/signature" },
678+
"Signature-Input": { "$ref": "#/components/headers/signature_input" },
679+
"Content-Digest": { "$ref": "#/components/headers/content_digest" }
680+
},
676681
"content": {
677682
"application/json": {
678683
"schema": { "$ref": "#/components/schemas/order_response" }

0 commit comments

Comments
 (0)