Configures a JSON Schema that validates JSON-RPC error objects.
Use either location to load an external schema or schema to define the schema inline.
Syntax
error:
location: <string>
schema: {}
error:
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. |