feat: expose runtime OpenAPI contract
Register typed API operations and serve an always-current OpenAPI document without a generation command or committed generated artifact. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
314c783659
commit
045f0b7cf2
9 changed files with 533 additions and 76 deletions
3
.github/copilot-instructions.md
vendored
3
.github/copilot-instructions.md
vendored
|
|
@ -95,5 +95,8 @@ exposes only candidate-safe schedule and shared-document data.
|
|||
unexpected failures instead of silently falling back.
|
||||
- Update the directly related local documentation whenever behavior,
|
||||
configuration, architecture, commands, or public API surfaces change.
|
||||
- Register backend routes through the typed OpenAPI-aware router helper. The
|
||||
runtime `/api/openapi.json` document is the API source of truth; do not add a
|
||||
manually maintained route inventory or require a generation command.
|
||||
- Commit every repository change with a meaningful conventional prefix such as
|
||||
`feat:`, `fix:`, `refactor:`, `test:`, `docs:`, or `chore:`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue