@scalar/openapi-types 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @scalar/openapi-types
|
|
2
2
|
|
|
3
|
+
## 0.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7116](https://github.com/scalar/scalar/pull/7116) [`2239843`](https://github.com/scalar/scalar/commit/2239843150ed16d1ca35b0b1f8e90cd3e35be7ce) Thanks [@baywet](https://github.com/baywet)! - docs adds a mention that OpenAPI 3.2.0 is now supported
|
|
8
|
+
|
|
3
9
|
## 0.5.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://github.com/scalar/scalar/blob/main/LICENSE)
|
|
6
6
|
[](https://discord.gg/scalar)
|
|
7
7
|
|
|
8
|
-
Modern OpenAPI parser written in TypeScript, with support for Swagger 2.0, OpenAPI 3.0 and
|
|
8
|
+
Modern OpenAPI parser written in TypeScript, with support for Swagger 2.0, OpenAPI 3.0, 3.1 and 3.2
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
@@ -59,7 +59,7 @@ What's “unprocessed”? It's for the content of a “raw” OpenAPI document,
|
|
|
59
59
|
We also provide Zod schemas for processed OpenAPI documents, where the `$ref`s are resolved already:
|
|
60
60
|
|
|
61
61
|
```ts
|
|
62
|
-
//
|
|
62
|
+
// Import the Zod Schema without the $ref property:
|
|
63
63
|
import { OpenApiObjectSchema } from '@scalar/openapi-types/schemas/3.1/processed'
|
|
64
64
|
|
|
65
65
|
OpenApiObjectSchema.parse({
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"swagger",
|
|
17
17
|
"typescript"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.5.
|
|
19
|
+
"version": "0.5.1",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=20"
|
|
22
22
|
},
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"zod": "4.1.11"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@scalar/build-tooling": "0.2.
|
|
61
|
+
"@scalar/build-tooling": "0.2.8"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "scalar-build-esbuild",
|