Auto-generate OpenAPI docs from your decorators
· 2 min read
If you're already annotating controllers with @Controller, @Get/@Post, and
@Body(DtoClass), you've already written most of what an OpenAPI document needs. This
post shows how nextjs-nestapi turns that into a live spec and a Swagger UI, with no
separate documentation step to keep in sync.