Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

SeanCassiere/fastify-trpc-openapi-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Possible: Fastify Adapter for TRPC-Openapi (TRPC v9)

⚠️ Warning: This was a possible adapter for trpc v9. This will NOT work in v10.

An example of a possible adapter for using trpc-openapi to serve the trpc routes in Fastify.

The actual adapter implementation is in src/fastify.ts.

Instructions

  1. Clone the repo.
  2. Install the node_modules, npm install.
  3. Run the dev server, npm run dev.
  4. View openapi doc at http://localhost:3000/openapi.json and use the SwaggerUI at http://localhost:3000/docs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published