Configures JSON Schema validation for the JSON-RPC params member of one method.
Use either location to load an external schema or schema to define the schema inline.
Syntax
params:
location: <string>
schema: {}
params:
location: <string>
schema: {}
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| location | false | - | References the JSON Schema by path or URL. Configure either | classpath:/json/rpc/echo-params.schema.json |
Child Structure
| Element | Cardinality | Description |
|---|---|---|
| schema | 0..1 | Defines the JSON Schema inline. |