API contract hardening

This commit is contained in:
2026-04-26 17:32:01 +02:00
parent 57bc289fdc
commit 2c2bd4347a
6 changed files with 415 additions and 1 deletions

View File

@@ -208,6 +208,8 @@ Search results include `match_type`, `matched_field`, `confidence`,
source/evidence context when the match comes from implementation evidence.
The generated OpenAPI schema at `/openapi.json` and docs at `/docs` include
typed response schemas and examples for the main agent-facing responses.
The API compatibility policy is documented in `docs/api-contract.md`; stable
agent-facing paths are guarded by an OpenAPI contract snapshot test.
Discovery helpers are available for production-readiness workflows that compare
approved profiles, find simple capability gaps, or export a registry entry: