SwaggerGenOptionsExtensions - класс

Extension methods for SwaggerGenOptions.

Definition

Пространство имён: Tessa.Web.Unchase.Swashbuckle.Extensions
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.5
C#
public static class SwaggerGenOptionsExtensions
Inheritance
Object    SwaggerGenOptionsExtensions

Методы

AddEnumsWithValuesFixFilters Add filters to fix enums in OpenApi document.
ChangeAllResponsesByHttpStatusCodeT(SwaggerGenOptions, Int32, String, ResponseExampleOptions, T) Change all responses by specific http status codes in OpenApi document.
ChangeAllResponsesByHttpStatusCodeT(SwaggerGenOptions, HttpStatusCode, String, ResponseExampleOptions, T) Change all responses by specific http status codes in OpenApi document.
IncludeXmlCommentsFromInheritDocs Inject human-friendly descriptions for Schemas and it's Parameters based on <inheritdoc/> XML Comments (from summary and remarks).
IncludeXmlCommentsWithRemarks(SwaggerGenOptions, FuncXPathDocument, Boolean, FuncType) Inject human-friendly descriptions for Operations, Parameters and Schemas based on XML Comment files (from summary and remarks).
IncludeXmlCommentsWithRemarks(SwaggerGenOptions, FuncXPathDocument, Boolean, Type) Inject human-friendly descriptions for Operations, Parameters and Schemas based on XML Comment files (from summary and remarks).
IncludeXmlCommentsWithRemarks(SwaggerGenOptions, String, Boolean, FuncType) Inject human-friendly descriptions for Operations, Parameters and Schemas based on XML Comment files (from summary and remarks).
IncludeXmlCommentsWithRemarks(SwaggerGenOptions, String, Boolean, Type) Inject human-friendly descriptions for Operations, Parameters and Schemas based on XML Comment files (from summary and remarks).

См. также