home/lifestyle/l2-case27-prompt-fix

L2 Case27 Prompt Fix

GPTClaudeGemini··609 copies·updated 2026-07-14
l2-case27-prompt-fix.prompt
All 4 endpoints updated:

- **GET `/`** (list): `id` → `order_id`
- **GET `/:id`** (detail): destructured to replace `id` with `order_id`
- **POST `/`** (create): destructured to replace `id` with `order_id`
- **GET `/search`**: `id` → `order_id`

The stats and delete endpoints don't return order IDs, so no changes needed there. Tests may need updating if they assert on the `id` field — want me to check?

when to use it

Community prompt sourced from the open-source GitHub repo SenZhangAI/your-taste-test (no explicit license). A "L2 Case27 Prompt Fix" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

lifestylecommunitygeneral

source

SenZhangAI/your-taste-test · no explicit license