Nestjs Response Format

Build a REST API with NestJS, Prisma, PostgreSQL and Swagger

Nestjs Response Format. Web i followed the documentation and was able to add an interceptor for response mapping. I have a nestjs route which sends back in response, a json not well formatted (like minified), i want to make.

Build a REST API with NestJS, Prisma, PostgreSQL and Swagger
Build a REST API with NestJS, Prisma, PostgreSQL and Swagger

Web i need custom response to all my controllers, how to make this real? I have a nestjs route which sends back in response, a json not well formatted (like minified), i want to make. I have format like this: Web i followed the documentation and was able to add an interceptor for response mapping.

Web i followed the documentation and was able to add an interceptor for response mapping. I have format like this: Web i followed the documentation and was able to add an interceptor for response mapping. Web i need custom response to all my controllers, how to make this real? I have a nestjs route which sends back in response, a json not well formatted (like minified), i want to make.