ABP Vnext 3.0 Swagger add comments configuration

1. Open the Application layer production button to generate the XML file notes, file directory to make use of relatively easy to find late

 

 2. zxmallHttpApiHostModule module disposed at services.AddSwaggerGen

    Increase options.IncludeXmlComments (path); var path = "file path just produce"

 

 Then you can open the annotation mode F5 friends

Guess you like

Origin www.cnblogs.com/Aaron-c/p/11831554.html