diff --git a/light-rest-4j/src/main/resources/templates/rest/openapi/handlerYml.rocker.raw b/light-rest-4j/src/main/resources/templates/rest/openapi/handlerYml.rocker.raw index 45b374991..7e9dc5b75 100644 --- a/light-rest-4j/src/main/resources/templates/rest/openapi/handlerYml.rocker.raw +++ b/light-rest-4j/src/main/resources/templates/rest/openapi/handlerYml.rocker.raw @@ -4,9 +4,18 @@ @args (String serviceId, String handlerPackage, List> items, boolean prometheusMetrics, boolean healthCheck, boolean serverInfo) # Handler middleware chain configuration ---- +#---------------------------------------- enabled: true +# Configuration for the LightHttpHandler. The handler is the base class for all middleware, server and health handlers +# set the Status Object in the AUDIT_INFO, for auditing purposes +# default, if not set:false +auditOnError: ${handler.auditOnError:false} + +# set the StackTrace in the AUDIT_INFO, for auditing purposes +# default, if not set:false +auditStackTrace: ${handler.auditStackTrace:false} + #------------------------------------------------------------------------------ # Support individual handler chains for each separate endpoint. It allows framework # handlers like health check, server info to bypass majority of the middleware handlers