Skip to content

Commit 1dbd3ea

Browse files
committed
Fix: #125. Support OAS 2.0.
1 parent d200324 commit 1dbd3ea

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

draft-ietf-httpapi-rest-api-mediatypes.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ and application/openapi+yaml.
7676

7777
# Introduction
7878

79-
OpenAPI Specification [OAS] version 3 and above
79+
OpenAPI Specification [OAS]
8080
is a consolidated standard for describing
8181
HTTP APIs using the JSON {{JSON}} and YAML [YAML] data format.
8282

@@ -103,7 +103,7 @@ the above media types according to {{MEDIATYPE}}.
103103
## The OpenAPI Media Types
104104

105105
The OpenAPI Specification Media Types convey semantics for OpenAPI Document (OAD) resources
106-
as defined in [OAS] for version 3.0 and above.
106+
as defined in [OAS].
107107

108108
Those resources can be represented in {{JSON}} or [YAML].
109109
Since there are multiple OpenAPI Specification versions,
@@ -266,6 +266,11 @@ its value is expected to be ignored
266266
by tooling
267267
(see https://spec.openapis.org/oas/v3.1.0.html#versions).
268268

269+
While it is possible to use the version parameter
270+
to identify OpenAPI Document resources prior to version 3.0,
271+
the terminology used in this document,
272+
including the term "OpenAPI Document", was formally introduced in OAS 3.0.
273+
269274
# Security Considerations {#sec}
270275

271276
Security requirements for media type
@@ -349,3 +354,9 @@ RFC EDITOR PLEASE DELETE THIS SECTION.
349354
{:numbered="false" removeinrfc="true"}
350355

351356
- Split JSONSCHEMA registrations in a separate I-D.
357+
358+
## Since -07
359+
{:numbered="false" removeinrfc="true"}
360+
361+
- Support OAS 2.0
362+

0 commit comments

Comments
 (0)