You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sections/designRules.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,9 @@ A resource that corresponds to a single conceptual entity is referred to as a [=
90
90
<dt>Statement</dt>
91
91
<dd>
92
92
A [=URI=] MUST never contain a trailing slash. When requesting a resource including a trailing slash, this MUST result in a `404` (not found) error response and not a redirect. This forces API consumers to use the correct [=URI=].
93
+
<div class="note">
94
+
This rule does not apply to the root resource (append <code>/</code> to the service root URL).
95
+
</div>
93
96
</dd>
94
97
<dt>Rationale</dt>
95
98
<dd>
@@ -99,11 +102,13 @@ A resource that corresponds to a single conceptual entity is referred to as a [=
Analyse all resource paths in the OpenAPI Description to confirm no resource paths end with a forward slash (<code>/</code>).
111
+
Analyse all resource paths (except the root resource path) in the OpenAPI Description to confirm no resource paths end with a forward slash (<code>/</code>).
0 commit comments