NestJS @nestjs/swagger के माध्यम से Swagger/OpenAPI के साथ integrate होता है ताकि आपके code से interactive API documentation auto-generate की जा सके — controllers, routes, DTOs, और decorators। यह एक browsable UI बनाता है जहाँ developers endpoints को explore और test कर सकते हैं, और जो code के साथ sync में रहता है।
Swagger सेट अप करना
{ , } ;
config = ()
.()
.()
.()
.()
.();
= .(app, config);
.(, app, );
