NestJS Swagger/OpenAPI کے ساتھ @nestjs/swagger کے ذریعے integrate کرتا ہے تاکہ آپ کے code سے automatically interactive API documentation generate ہو سکے — controllers، routes، DTOs، اور decorators سے۔ یہ ایک browsable UI تیار کرتا ہے جہاں developers endpoints کو explore اور test کر سکتے ہیں، جو code کے ساتھ synchronized رہتا ہے۔
Swagger سیٹ اپ کرنا
{ , } ;
config = ()
.()
.()
.()
.()
.();
= .(app, config);
.(, app, );
