Skip to content

Conversation

@ThomasK33
Copy link
Member

Summary

  • Add /api/spec.json endpoint serving OpenAPI 3.x spec generated from oRPC router
  • Add /api/docs endpoint with Scalar API reference UI
  • Add OpenAPI REST handler for Scalar/OpenAPI clients
  • Return specUrl and docsUrl from server start

Generated with mux

Add OpenAPI handler at /api for REST-style clients alongside
existing oRPC handler. Includes:
- /api/spec.json - OpenAPI specification
- /api/docs - Scalar API reference UI
- /api/* - OpenAPIHandler for REST requests
@ThomasK33 ThomasK33 added this pull request to the merge queue Dec 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 4, 2025
@ThomasK33 ThomasK33 added this pull request to the merge queue Dec 4, 2025
Merged via the queue into main with commit 630397d Dec 4, 2025
16 checks passed
@ThomasK33 ThomasK33 deleted the openapi-docs branch December 4, 2025 18:46
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