Filters
Parent namespace: Backend
Classes
| Type | Description |
|---|---|
EnumSchemaFilter | The EnumSchemaFilter class is a custom schema filter for Swagger/OpenAPI documentation that modifies the way enum types are represented in the generated API documentation. When applied, this filter changes the schema of enum types to be represented as strings instead of their underlying integer values. It iterates through the names of the enum members and adds them as string values to the schema's Enum collection. This enhances the readability and usability of the API documentation by providing more descriptive representations of enum values, making it easier for developers to understand and use the API effectively when enums are involved in request or response models. |
FormRequestBodyInheritdocFilter | Applies inherited XML summaries to multipart form request body schemas. |
InheritdocSchemaFilter | Ensures Swagger schema descriptions are filled from XML documentation, including inheritdoc references. |