Startup.cs under Configureservices Code
Here mainly in the Docinclusionpredicate control output those APIs.
Startup.cs under Configure code
Add [Apiexplorersettings (groupname= "Apigroupname") to controllers or action]
Apigroupattribute
If you do not want to use the MICROSOFT.ASPNETCORE.MVC under the Apiexplorersettingsattribute, you can build a apigroupattribute.
Replace the Apiexplorersettingsattribute in the above code with Apigroupattribute,apiexplorersettings with Apigroup.
The Apigroupattribute code is as follows
Effect
If you do not use the [Apiexplorersettings (groupname= "GroupName")] API will be displayed in V1.
Other
Swagger through the output JSON, such as: "Swagger/{documentname}/swagger.json" Display API documentation, we can write our own parsing JSON to implement our own API document UI. </p
"DotNet Core" swagger Simple to Webapi Group