agnyz / the-bed-stack

Bun + ElysiaJS + DrizzleORM = the stack you don't want to sleep on 🛌💤
https://agnyz.github.io/the-bed-stack/
MIT License
39 stars 3 forks source link

Swagger endpoint #36

Closed yamcodes closed 1 year ago

yamcodes commented 1 year ago

Clear and concise description of the problem

As a developer using elysia-realworld-example-app I want a Swagger endpoint so that I can debug my app easily.

Suggested solution

We could implement it using the official docs Swagger plugin section.

Alternative

We can potentially use an external Swagger UI host and just generate the openapi.json/openapi.yaml if things don't work out with the official plugin.

Additional context

No response

Validations