Skip to content

feat(api): add OpenAPI spec and schema validation#25

Open
cpluss wants to merge 1 commit intomainfrom
refactor/external-contract
Open

feat(api): add OpenAPI spec and schema validation#25
cpluss wants to merge 1 commit intomainfrom
refactor/external-contract

Conversation

@cpluss
Copy link
Collaborator

@cpluss cpluss commented Feb 11, 2026

Summary

  • add in-app OpenAPI endpoints at /v1/openapi and /v1/docs
  • introduce StarciteWeb.ApiSpec as the canonical HTTP contract for sessions, tail handshake, and health endpoints
  • wire OpenApiSpex.Plug.CastAndValidate into SessionController for runtime schema validation
  • update REST docs to document validation errors and OpenAPI discovery
  • add controller tests for OpenAPI routes and schema validation failure cases

Validation

  • mix precommit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant