[ https://issues.apache.org/jira/browse/SLING-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931730#comment-15931730 ]
Konrad Windszus commented on SLING-6515: ---------------------------------------- For JSON responses, that should not be an issue though, as {{setError}} is overwritten there: https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13afd453a10a5a626/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/JSONResponse.java#L78. > Sling Post Processor considering validation model as well > --------------------------------------------------------- > > Key: SLING-6515 > URL: https://issues.apache.org/jira/browse/SLING-6515 > Project: Sling > Issue Type: Improvement > Components: Validation > Reporter: Konrad Windszus > > It should be possible to optionally enable a Sling Post Processor which > validates the incoming parameters against a validation model. In case the > incoming parameters are not valid, there must be an error response. -- This message was sent by Atlassian JIRA (v6.3.15#6346)