Input validation
Rejecting bad input before it reaches the database. While this can be done manually inside a handler, there are solutions in place to derive type, range, enum and mandatory checks from the model definitions.
Showing artifacts, examples and content with confirmed Java applicability. View All CAP
Overview
com.sap.cds:cds-services-bom
Enforces declarative @assert and @mandatory constraints whenever data is written, and translates the resulting validation error messages out of the box.
A Java coverage assessment has not been written. View all flavors
No community artifact is confirmed here for Java.
A Java coverage assessment has not been written. View all flavors
Artifacts
Details
Coverage
For your agent
- Ref
capability:input-validation- JSON
- /capabilities/input-validation.json
- MCP
- Connecting an agent