Skip to content

Commit 8bf8ed9

Browse files
authored
fix: validated support for OpenAPI 3.1.2 and updated docs
Signed-off-by: Vincent Biret <vincentbiret@hotmail.com>
1 parent 23d6c26 commit 8bf8ed9

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This repository publishes **three different npm packages**:
5252
### OpenAPI Specification Compatibility
5353

5454
- **Current Support:** OpenAPI 2.0, 3.0.x, 3.1.x
55-
- **Latest Version:** v5.31.0 (supports up to OpenAPI 3.1.1)
55+
- **Latest Version:** v5.31.0 (supports up to OpenAPI 3.1.2)
5656

5757
### License
5858

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ If you are looking for plain ol' HTML/JS/CSS, [download the latest release](http
3333
## Compatibility
3434
The OpenAPI Specification has undergone 5 revisions since initial creation in 2010. Compatibility between Swagger UI and the OpenAPI Specification is as follows:
3535

36-
| Swagger UI Version | Release Date | OpenAPI Spec compatibility | Notes |
37-
|--------------------|--------------|------------------------------------------------------|-----------------------------------------------------------------------|
38-
| 5.19.0 | 2025-02-17 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.1.1 | [tag v5.19.0](https://github.com/swagger-api/swagger-ui/tree/v5.19.0) |
36+
| Swagger UI Version | Release Date | OpenAPI Spec compatibility | Notes |
37+
|--------------------|--------------|-------------------------------------------------------------|-----------------------------------------------------------------------|
38+
| 5.19.0 | 2025-02-17 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.1.1, 3.1.2 | [tag v5.19.0](https://github.com/swagger-api/swagger-ui/tree/v5.19.0) |
3939
| 5.0.0 | 2023-06-12 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0 | [tag v5.0.0](https://github.com/swagger-api/swagger-ui/tree/v5.0.0) |
4040
| 4.0.0 | 2021-11-03 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3 | [tag v4.0.0](https://github.com/swagger-api/swagger-ui/tree/v4.0.0) |
4141
| 3.18.3 | 2018-08-03 | 2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3 | [tag v3.18.3](https://github.com/swagger-api/swagger-ui/tree/v3.18.3) |

test/unit/core/plugins/oas31/fn.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ describe("isOAS30", function () {
1010
it("should recognize valid OAS3 version values", function () {
1111
expect(isOAS31Shorthand("3.1.0")).toEqual(true)
1212
expect(isOAS31Shorthand("3.1.1")).toEqual(true)
13+
expect(isOAS31Shorthand("3.1.2")).toEqual(true)
1314
expect(isOAS31Shorthand("3.1.25")).toEqual(true)
1415
})
1516

0 commit comments

Comments
 (0)