Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit 11fde28

Browse files
Fix link to 3.1 spec in docs
1 parent 3a739e0 commit 11fde28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/openapi-parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ A callback that will receive the dereferenced and validated [Swagger object](htt
6060
- **Return Value:** `Promise`<br>
6161
See [Callbacks vs. Promises](README.md#callbacks-vs-promises)
6262

63-
Validates the Swagger API against the [Swagger 2.0 schema](https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v2.0/schema.json), [OpenAPI 3.0 Schema](https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v3.0/schema.json), or [OpenAPI 3.1 Schema](https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v3.0/schema.json).
63+
Validates the Swagger API against the [Swagger 2.0 schema](https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v2.0/schema.json), [OpenAPI 3.0 Schema](https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v3.0/schema.json), or [OpenAPI 3.1 Schema](https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v3.1/schema.json).
6464

6565
If [the `validate.spec` option](options.md#validate-options) is enabled, then this method also validates against the [Swagger 2.0 spec](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md). The specification validator will catch some things that aren't covered by the Swagger 2.0 Schema, such as duplicate parameters, invalid MIME types, etc.
6666

0 commit comments

Comments
 (0)