Skip to content

fix(server): serve HttpApi OpenAPI document#26438

Merged
kitlangton merged 1 commit into
devfrom
kit/httpapi-doc-route
May 9, 2026
Merged

fix(server): serve HttpApi OpenAPI document#26438
kitlangton merged 1 commit into
devfrom
kit/httpapi-doc-route

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

  • Serve the Effect HttpApi OpenAPI document from GET /doc before the UI fallback.
  • Add a runtime regression test for the document endpoint.

Test

  • bun test --timeout 5000 test/server/httpapi-instance.test.ts test/server/httpapi-workspace-routing.test.ts
  • bun typecheck

@kitlangton kitlangton marked this pull request as ready for review May 9, 2026 02:20
@kitlangton kitlangton merged commit 9c05d4e into dev May 9, 2026
12 checks passed
@kitlangton kitlangton deleted the kit/httpapi-doc-route branch May 9, 2026 02:20
katosun2 pushed a commit to katosun2/opencode that referenced this pull request May 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant