2

Is there any swagger-like to nestjs microservices?

The @nestjs/swagger lib only accepts normal nestjs applications, not microservices.

1 Answers1

3

OpenAPI (aka Swagger) is specifically made for REST applications. If you're looking for documenting your Microservices, you can use something like Async API. There's a community package for NestJS as well that's currently in the works. You can watch the project for updates.

Jay McDoniel
  • 57,339
  • 7
  • 135
  • 147