diff --git a/spec.md b/spec.md index 0f693bf..d6ddd9e 100644 --- a/spec.md +++ b/spec.md @@ -236,7 +236,8 @@ Field Name | Type | Description description | `string` | A verbose explanation of the example pairing. 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 undefined, the example pairing represents usage of the method as a notification. +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).