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
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
153154The "middlewares" config parameter is a comma separated list of enabled middlewares.
154155You 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
174177If you don't specify these parameters in the configuration, then the default values (between brackets) are used.
175178
You can’t perform that action at this time.
0 commit comments