api-contract: GET /image/:key path pattern does not match real storage key shape #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
api-contract/src/images.tsmodelsGET /image/:keywith a single dynamic path segment. The real storage keys are multi-segment (recipes/{recipeId}/{imageId}.{ext}), served via a wildcard route inrecipe-backend'sImageRestResource.ts— the contract's path pattern is inaccurate.Found during the
recipe-backend/recipe-appcontract-onboarding audit (recipe-backendPR #13,docs/plans/onboarding-integration.md→ Audit Results). Not actioned there since it is a contract-side fix, not a backend one.Fix: correct the path pattern in
api-contract/src/images.tsto reflect the real multi-segment key shape.