Update deposit-service OpenAPI spec#109
Conversation
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · ✅ LGTM
Regenerates the deposit-service spec from rhinestonewtf/deposit-service-processor@690e44e, adding deposits-scope 403 responses across the affected account/deposit endpoints. This matches the upstream key-scope enforcement surface.
Risk: Low — generated spec-only change documenting additive auth errors
019bee9 to
a7cbe81
Compare
a7cbe81 to
410e99f
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
No effective deposit-service.json change since the last Greg review; the current generated spec still contains the already-reviewed deposits-scope 403 response coverage.
410e99f to
6337692
Compare
greg-rhinestone
left a comment
There was a problem hiding this comment.
🤖 Greg · 🔄 Re-review · ✅ LGTM
Generated deposit-service spec now includes the deposits-scope 403 response on the remaining account, deposit, withdrawal, and webhook endpoints from rhinestonewtf/deposit-service-processor@6f83c1a. No new compatibility issue surfaced.
a2189ba to
10c746c
Compare
10c746c to
b4ebe5b
Compare
b4ebe5b to
982bb6a
Compare
982bb6a to
7ceb49a
Compare
7ceb49a to
52f2437
Compare
52f2437 to
eb023e0
Compare
eb023e0 to
1d0c02d
Compare
1d0c02d to
890f698
Compare
890f698 to
6e30abc
Compare
6e30abc to
13dbc20
Compare
cac1b52 to
56d0829
Compare
| "description": "API key for authentication", | ||
| "example": "your-api-key" | ||
| }, | ||
| "required": true, |
There was a problem hiding this comment.
question — /deposits now accepts either Authorization or x-api-key and returns ids specifically for this endpoint, but this new endpoint only documents a required x-api-key. Platform-token callers can list deposits but have no documented way to fetch the quoted candidates, so either the endpoint needs the same auth alternative or the asymmetry needs to be intentional.
1370db9 to
79bf612
Compare
| "description": "API key for authentication", | ||
| "example": "your-api-key" | ||
| }, | ||
| "required": true, |
There was a problem hiding this comment.
question — Previously raised but still unresolved: /deposits and /deposits/stats now document Authorization as an alternative to x-api-key, while /deposits/{id}/quotes still requires x-api-key only. Platform-token callers can list deposits and stats but have no documented way to fetch quote candidates for those deposits, so either this endpoint needs the same auth alternative or the asymmetry needs to be explicit.
| "description": "API key for authentication", | ||
| "example": "your-api-key" | ||
| }, | ||
| "required": true, |
There was a problem hiding this comment.
question — Previously raised but still unresolved: /deposits and /deposits/stats now document Authorization as an alternative to x-api-key, while /deposits/{id}/quotes still requires x-api-key only. Platform-token callers can list deposits and stats but have no documented way to fetch quote candidates for those deposits, so either this endpoint needs the same auth alternative or the asymmetry needs to be explicit.
| "description": "API key for authentication", | ||
| "example": "your-api-key" | ||
| }, | ||
| "required": true, |
There was a problem hiding this comment.
question — Previously raised but still unresolved: /deposits and /deposits/stats now document Authorization as an alternative to x-api-key, while /deposits/{id}/quotes still requires x-api-key only. Platform-token callers can list deposits and stats but have no documented way to fetch quote candidates for those deposits, so either this endpoint needs the same auth alternative or the asymmetry needs to be explicit.
79bf612 to
18d5062
Compare
| "description": "API key for authentication", | ||
| "example": "your-api-key" | ||
| }, | ||
| "required": true, |
There was a problem hiding this comment.
question — Previously raised but still unresolved: /deposits and /deposits/stats now document Authorization as an alternative to x-api-key, while /deposits/{id}/quotes still requires x-api-key only. Platform-token callers can list deposits and stats but have no documented way to fetch quote candidates for those deposits, so either this endpoint needs the same auth alternative or the asymmetry needs to be explicit.
18d5062 to
380a3c9
Compare
380a3c9 to
5dc7a29
Compare
| "description": "API key for authentication", | ||
| "example": "your-api-key" | ||
| }, | ||
| "required": true, |
There was a problem hiding this comment.
question — Previously raised and still present: /deposits and /deposits/stats document Authorization as an alternative to x-api-key, while /deposits/{id}/quotes still requires x-api-key only. Platform-token callers can list deposits and stats but have no documented way to fetch quote candidates for those deposits, so either this endpoint needs the same auth alternative or the asymmetry needs to be explicit.
…t-service-processor@b0a2bc4380713657a3240e6f63d9e687396540b0
5dc7a29 to
8fc8cd0
Compare
| "description": "API key for authentication", | ||
| "example": "your-api-key" | ||
| }, | ||
| "required": true, |
There was a problem hiding this comment.
question — Previously raised and still present: /deposits and /deposits/stats document Authorization as an alternative to x-api-key, while /deposits/{id}/quotes still requires x-api-key only. Platform-token callers can list deposits and stats but have no documented way to fetch quote candidates for those deposits, so either this endpoint needs the same auth alternative or the asymmetry needs to be explicit.
This PR updates the OpenAPI spec generated from rhinestonewtf/deposit-service-processor@b0a2bc4380713657a3240e6f63d9e687396540b0.