Skip to content

Commit 56b5d16

Browse files
committed
Fixes #443
1 parent ba11860 commit 56b5d16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ You can enable the following middleware using the "middlewares" config parameter
149149
- "validation": Return input validation errors for custom rules
150150
- "sanitation": Apply input sanitation on create and update
151151
- "multiTenancy": Restricts tenants access in a multi-tenant scenario
152+
- "custom": Provides handlers for request and response customization
152153

153154
The "middlewares" config parameter is a comma separated list of enabled middlewares.
154155
You can tune the middleware behavior using middleware specific configuration parameters:
@@ -170,6 +171,8 @@ You can tune the middleware behavior using middleware specific configuration par
170171
- "validation.handler": Handler to implement validation rules for input values ("")
171172
- "sanitation.handler": Handler to implement sanitation rules for input values ("")
172173
- "multiTenancy.handler": Handler to implement simple multi-tenancy rules ("")
174+
- "custom.beforeHandler": Handler to implement request customization ("")
175+
- "custom.afterHandler": Handler to implement response customization ("")
173176

174177
If you don't specify these parameters in the configuration, then the default values (between brackets) are used.
175178

0 commit comments

Comments
 (0)