Class AbpSwashbuckleDocumentFilter
Inheritance
object
AbpSwashbuckleDocumentFilter
Implements
Swashbuckle.AspNetCore.SwaggerGen.IDocumentFilter
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Swashbuckle
Assembly: Volo.Abp.Swashbuckle.dll
Syntax
public class AbpSwashbuckleDocumentFilter : IDocumentFilter
Constructors
AbpSwashbuckleDocumentFilter()
Declaration
public AbpSwashbuckleDocumentFilter()
Properties
ActionUrlPrefixes
Declaration
protected virtual string[] ActionUrlPrefixes { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
RegexConstraintPattern
Declaration
protected virtual string RegexConstraintPattern { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Apply(OpenApiDocument, DocumentFilterContext)
Declaration
public virtual void Apply(OpenApiDocument swaggerDoc, DocumentFilterContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.OpenApi.Models.OpenApiDocument | swaggerDoc | |
| Swashbuckle.AspNetCore.SwaggerGen.DocumentFilterContext | context |
RemoveRouteParameterConstraints(ActionDescriptor)
Declaration
protected virtual string RemoveRouteParameterConstraints(ActionDescriptor actionDescriptor)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor | actionDescriptor |
Returns
| Type | Description |
|---|---|
| string |
Implements
Swashbuckle.AspNetCore.SwaggerGen.IDocumentFilter