Skip to content

Commit ee45299

Browse files
committed
fix: added error to examplePairingObject
fixes #363
1 parent 0d6a152 commit ee45299

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec.md

+1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ Field Name | Type | Description
237237
<a name="example-pairing-summary"></a>summary | `string` | Short description for the example pairing.
238238
<a name="example-pairing-params"></a>params | [[Example Object](#example-object) \| [Reference Object](#reference-object)] | **REQUIRED** Example parameters.
239239
<a name="example-pairing-result"></a>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.
240+
<a name="example-pairing-error"></a>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.
240241

241242
This object MAY be extended with [Specification Extensions](#specification-extensions).
242243

0 commit comments

Comments
 (0)