Update OpenAPI spec#108
Conversation
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · ✅ LGTM
Updates the generated orchestrator OpenAPI mirror from rhinestonewtf/orchestrator@89e01d7, removing the stale x-feature-flags quote header from the contract.
Risk: Low - generated spec sync with a tiny header-only contract delta.
4045500 to
523e670
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
Generated orchestrator spec provenance moved forward and the effective contract delta remains the tiny quote-header cleanup: x-feature-flags stays removed from the generated OpenAPI surface. No new schema issue found.
523e670 to
cca528c
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
Generated orchestrator spec provenance advanced to rhinestonewtf/orchestrator@00ad6de, and the effective schema delta is still just the removal of the stale x-feature-flags quote header. No new contract issue found.
cca528c to
3647ea5
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
Generated orchestrator spec now tracks rhinestonewtf/orchestrator@d500f94, adding vbUSDC/vbETH to the quote access-list and fee-token enums from the shared-configs bump; no new contract issue found.
3647ea5 to
209a8fb
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
No effective orchestrator.json change since the last Greg review; the spec still contains the already-reviewed quote header cleanup and vbUSDC/vbETH enum additions.
209a8fb to
4a0ed27
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
New head adds generated KEY_SCOPE_DENIED 403 schema coverage from the orchestrator provenance commit. Previous feedback had no unresolved items.
4a0ed27 to
66dc706
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
New head only adds generated quote token enum coverage for USD, pathUSD, and USDC.e from the orchestrator shared-configs 1.6.4 sync. Previous feedback had no unresolved items.
| @@ -27,13 +27,6 @@ | |||
| "description": "API version (YYYY-MM.name). Will become required in a future release.", | |||
| "example": "2026-01.alps" | |||
| } | |||
| }, | |||
| { | |||
| "name": "x-feature-flags", | |||
There was a problem hiding this comment.
question — This removes the documented x-feature-flags header from POST /quotes; if existing consumers still use it to opt into gated quote behavior, regenerated clients will lose that contract. Is the orchestrator change intentionally retiring this header?
66dc706 to
28bfbf8
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
Direct orchestrator.json content is unchanged from the previous Greg-reviewed head 66dc706, despite the refreshed PR head/provenance commit. No new contract surface to review.
28bfbf8 to
2b757ca
Compare
| @@ -1546,8 +1656,8 @@ | |||
| } | |||
| } | |||
| }, | |||
| "500": { | |||
| "description": "500", | |||
| "403": { | |||
There was a problem hiding this comment.
question — This new 403 response is described as API key scope denial, but its schema below still accepts VALIDATION_ERROR, INSUFFICIENT_LIQUIDITY, and the generic server/client error codes as valid 403 bodies. Is the intended 403 contract only KEY_SCOPE_DENIED, or should clients really treat every existing error shape as possible under this status?
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
Direct orchestrator.json content is unchanged from the previous Greg-reviewed head 28bfbf8, despite the refreshed provenance commit rhinestonewtf/orchestrator@b8427ad. No new contract surface to review.
23cfe1b to
fa79077
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question — This same error union is still being added to every status-specific error response: here KEY_SCOPE_DENIED is accepted by the 400 schema, and the same shape also appears under the 403 and 500 schemas. Prior 403 thread asked whether scope denial should be the only 403 contract; if the answer is yes, generated clients should not also see scope denial as a valid 400 or 500 body.
fa79077 to
f02b5dc
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question — This still adds KEY_SCOPE_DENIED to the 400 error schema while the same error shape is also present under the new 403 and 500 schemas; the prior 403/status-contract threads remain unresolved. If scope denial is meant to be a 403-only contract, generated clients should not also treat it as a valid 400 or 500 response.
b9b03c5 to
54ac8ed
Compare
54ac8ed to
cea8762
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question — The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union also appears under 403, 404, and 500 responses. If scope denial is meant to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
cea8762 to
1e493ec
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question — The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union also appears under 403, 404, and 500 responses across the generated spec. If scope denial is meant to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
1e493ec to
84fb176
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question — The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union also appears under 403, 404, and 500 responses across the generated spec. If scope denial is meant to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
84fb176 to
a486f5f
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union also appears under 403, 404, and 500 responses across the generated spec. If scope denial is meant to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
a486f5f to
22a8b69
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union also appears under 403, 404, and 500 responses across the generated spec. If scope denial is meant to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
22a8b69 to
16dc542
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union is also used for 403, 404, and 500 responses across the generated spec. If scope denial is intended to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
16dc542 to
6bd5e2f
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union is also used for 403, 404, and 500 responses across the generated spec. If scope denial is intended to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
6bd5e2f to
d6bc0f9
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union is also used for 403, 404, and 500 responses across the generated spec. If scope denial is intended to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
d6bc0f9 to
4800522
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union is also used for 403, 404, and 500 responses across the generated spec. If scope denial is intended to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
4800522 to
9dafc95
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union is also used for 403, 404, and 500 responses across the generated spec. If scope denial is intended to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
9dafc95 to
b43c4fc
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union is also used for 403 and 500 responses across the generated spec. If scope denial is intended to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
b43c4fc to
8a0d04b
Compare
| "code": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "KEY_SCOPE_DENIED" |
There was a problem hiding this comment.
question - The prior status-specific error contract thread remains unresolved: this still adds KEY_SCOPE_DENIED to the 400 error schema while the same union is also used for 403 and 500 responses across the generated spec. If scope denial is intended to be a 403-only contract, generated clients should not treat it as a valid body for unrelated statuses.
8a0d04b to
7cdd1b3
Compare
…tor@597e9bf21a0f150ae21c5c64aaffc9184a1d3d88
7cdd1b3 to
3722df6
Compare
This PR updates the OpenAPI spec generated from rhinestonewtf/orchestrator@597e9bf21a0f150ae21c5c64aaffc9184a1d3d88.