File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ You can enable the following middleware using the "middlewares" config parameter
149
149
- "validation": Return input validation errors for custom rules
150
150
- "sanitation": Apply input sanitation on create and update
151
151
- "multiTenancy": Restricts tenants access in a multi-tenant scenario
152
+ - "custom": Provides handlers for request and response customization
152
153
153
154
The "middlewares" config parameter is a comma separated list of enabled middlewares.
154
155
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
170
171
- "validation.handler": Handler to implement validation rules for input values ("")
171
172
- "sanitation.handler": Handler to implement sanitation rules for input values ("")
172
173
- "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 ("")
173
176
174
177
If you don't specify these parameters in the configuration, then the default values (between brackets) are used.
175
178
You can’t perform that action at this time.
0 commit comments