Nestjs Response Format

Nestjs request lifecycle

Nestjs Response Format. I have format like this: I have a nestjs route which sends back in response, a json not well formatted (like minified), i want to make.

Nestjs request lifecycle
Nestjs request lifecycle

I have format like this: 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. Web i need custom response to all my controllers, how to make this real?

Web i need custom response to all my controllers, how to make this real? 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. Web i need custom response to all my controllers, how to make this real? I have format like this: