diff --git a/spec.md b/spec.md index 30d552c..d6ddd9e 100644 --- a/spec.md +++ b/spec.md @@ -237,6 +237,7 @@ Field Name | Type | Description summary | `string` | Short description for the example pairing. params | [[Example Object](#example-object) \| [Reference Object](#reference-object)] | **REQUIRED** Example parameters. result | [Example Object](#example-object) \| [Reference Object](#reference-object) | Example result. When not provided, the example pairing represents usage of the method as a notification. +error | [Example Object](#example-object) \| [Reference Object](#reference-object) | Represents an example error response. The provided [Example Object](#example-object) MUST have the entire error object as its value. If provided, the [`examplePairing.result`](#example-pairing-result) must not be provided. This object MAY be extended with [Specification Extensions](#specification-extensions).