Skip to content

Commit ccd5931

Browse files
committed
Allow referencing Path Item only via Reference Object (OAI#2635)
Signed-off-by: Vladimir Gorej <[email protected]>
1 parent d22f93e commit ccd5931

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

versions/3.2.0.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ The path is appended to the URL from the [`Server Object`](#serverObject) in ord
661661

662662
Field Pattern | Type | Description
663663
---|:---:|---
664-
<a name="pathsPath"></a>/{path} | [Path Item Object](#pathItemObject) | A relative path to an individual endpoint. The field name MUST begin with a forward slash (`/`). The path is **appended** (no relative URL resolution) to the expanded URL from the [`Server Object`](#serverObject)'s `url` field in order to construct the full URL. [Path templating](#pathTemplating) is allowed. When matching URLs, concrete (non-templated) paths would be matched before their templated counterparts. Templated paths with the same hierarchy but different templated names MUST NOT exist as they are identical. In case of ambiguous matching, it's up to the tooling to decide which one to use.
664+
<a name="pathsPath"></a>/{path} | [Path Item Object](#pathItemObject) \| [Reference Object](#referenceObject) | A relative path to an individual endpoint. The field name MUST begin with a forward slash (`/`). The path is **appended** (no relative URL resolution) to the expanded URL from the [`Server Object`](#serverObject)'s `url` field in order to construct the full URL. [Path templating](#pathTemplating) is allowed. When matching URLs, concrete (non-templated) paths would be matched before their templated counterparts. Templated paths with the same hierarchy but different templated names MUST NOT exist as they are identical. In case of ambiguous matching, it's up to the tooling to decide which one to use.
665665

666666
This object MAY be extended with [Specification Extensions](#specificationExtensions).
667667

@@ -740,7 +740,6 @@ The path itself is still exposed to the documentation viewer but they will not k
740740

741741
Field Name | Type | Description
742742
---|:---:|---
743-
<a name="pathItemRef"></a>$ref | `string` | Allows for a referenced definition of this path item. The referenced structure MUST be in the form of a [Path Item Object](#pathItemObject). In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving [Relative References](#relativeReferencesURI).
744743
<a name="pathItemSummary"></a>summary| `string` | An optional, string summary, intended to apply to all operations in this path.
745744
<a name="pathItemDescription"></a>description | `string` | An optional, string description, intended to apply to all operations in this path. [CommonMark syntax](https://spec.commonmark.org/) MAY be used for rich text representation.
746745
<a name="pathItemGet"></a>get | [Operation Object](#operationObject) | A definition of a GET operation on this path.

0 commit comments

Comments
 (0)