Under the .Net Framework installed api swagger

1, open nuget installation Swashbuckle

 2, set in the project

 

 

3, automatically generates Swagger.Config after Bahrain

 

 

 

 4, modify Swagger.Config

 

 

 5, run http: // localhost: 44339 / swagger, you can see the following screen:

Guess you like

Origin www.cnblogs.com/jackielyj/p/12111178.html