屏蔽某些API

This commit is contained in:
admin
2021-01-21 16:00:58 +08:00
parent f84e9f2e5e
commit 9b672067cb
24 changed files with 101 additions and 38 deletions

View File

@@ -79,7 +79,7 @@ namespace NX.ERP.WebAPi
// });
// Set this flag to omit descriptions for any actions decorated with the Obsolete attribute
//c.IgnoreObsoleteActions();
c.IgnoreObsoleteActions();
// Each operation be assigned one or more tags which are then used by consumers for various reasons.
// For example, the swagger-ui groups operations according to the first tag of each operation.
@@ -101,7 +101,7 @@ namespace NX.ERP.WebAPi
// those comments into the generated docs and UI. You can enable this by providing the path to one or
// more Xml comment files.
//
// c.IncludeXmlComments(string.Format("{0}/bin/NX.ERP.WebAPi.xml", System.AppDomain.CurrentDomain.BaseDirectory));
// c.IncludeXmlComments(string.Format("{0}/bin/NX.ERP.WebAPi.xml", System.AppDomain.CurrentDomain.BaseDirectory));
// Swashbuckle makes a best attempt at generating Swagger compliant JSON schemas for the various types
// exposed in your API. However, there may be occasions when more control of the output is needed.