Skip to content

oRPC OpenAPI support #402

@aidansunbury

Description

@aidansunbury

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

  1. 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.
  2. 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"
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions