Skip to content

Commit 97d4652

Browse files
author
Phil Sturgeon
committed
fixes #892: oas 3.0 doesn't mention slashes not allowed
1 parent 1a8d44f commit 97d4652

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

versions/3.1.0.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ Path templating refers to the usage of template expressions, delimited by curly
7575

7676
Each template expression in the path MUST correspond to a path parameter that is included in the [Path Item](#path-item-object) itself and/or in each of the Path Item's [Operations](#operation-object).
7777

78+
The value for these path parameters MUST NOT contain unescaped forward slashes (`/`).
79+
7880
##### <a name="mediaTypes"></a>Media Types
7981
Media type definitions are spread across several resources.
8082
The media type definitions SHOULD be in compliance with [RFC6838](https://tools.ietf.org/html/rfc6838).
@@ -658,7 +660,7 @@ components:
658660
#### <a name="pathsObject"></a>Paths Object
659661

660662
Holds the relative paths to the individual endpoints and their operations.
661-
The path is appended to the URL from the [`Server Object`](#serverObject) in order to construct the full URL. The Paths MAY be empty, due to [Access Control List (ACL) constraints](#securityFiltering). Paths MAY be omitted in some classes of OAS documents, including referenced sub-documents and overlays.
663+
The path is appended to the URL from the [`Server Object`](#serverObject) in order to construct the full URL. The Paths MAY be empty, due to [Access Control List (ACL) constraints](#securityFiltering). Paths MAY be omitted in some classes of OAS documents, including referenced sub-documents and overlays.
662664

663665
##### Patterned Fields
664666

0 commit comments

Comments
 (0)