zakuciael / nosapi

A monorepo with Tools and APIs for all things NosTale
Apache License 2.0
0 stars 0 forks source link

Migrate from hand-made route handler to tRPC #11

Closed zakuciael closed 1 year ago

zakuciael commented 1 year ago

Instead of defining all routes by hand, let's use tRPC with the trpc-openapi package which gives us the ability to create E2E typesafe APIs while also exporting public facing routes courtesy of the trpc-openapi package. By doing this we can export OpenAPI schema from the router to use in the docs / swagger endpoint.

zakuciael commented 1 year ago

Since we moved the codebase to the Rust programming language, this issue no longer serves any purpose.