-
-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Description
Part of the promise of oRPC is the ability to use it in an OpenAPI compliant way in addition to the typical RPC handling https://orpc.unnoq.com/docs/openapi/getting-started
Three possible ways of going about this in better-t-stack
- Add OpenAPI setup by default in addition to RPC setup, so that the existing base routes can be used with OpenAPI. Only possible issue with this is it could be a bit confusing to a newcomer which they should use.
- Add OpenAPI setup as an alternative to RPC setup. The Api layer menu would then look something like "tRPC", "oRPC - rpc setup", "oRPC - openapi setup"
- Keep the existing oRPC option as is, and add idea (1) of a full setup as a third option. The Api layer menu would then look something like "tRPC", "oRPC ", "oRPC with OpenAPI"
Metadata
Metadata
Assignees
Labels
No labels