CRUD API
- The setup
You have an entity table — products, users, invoices. Every field added to the schema needs to propagate to the backend model, the API response, and the frontend that displays it.
- Where it snags
When the UI lives in a separate codebase, the frontend step lags or gets skipped. Three places to update for every field.
- The retrofit-ui move
The spec is derived from your schema. Add a field once; it appears in the table automatically on the next load.
- What survives
Your existing REST endpoints stay untouched. The spec lives on a separate endpoint you define (
/api/ui/*is the default convention, but you pick the URL) — no code generation, no scaffolding, nothing to maintain.