@scalar/oas-utils 0.2.56 → 0.2.57
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
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @scalar/oas-utils
|
|
2
2
|
|
|
3
|
+
## 0.2.57
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4738228: feat: make collection.info.version optional
|
|
8
|
+
- Updated dependencies [dbbe38f]
|
|
9
|
+
- Updated dependencies [4b8b611]
|
|
10
|
+
- @scalar/types@0.0.16
|
|
11
|
+
- @scalar/themes@0.9.38
|
|
12
|
+
|
|
3
13
|
## 0.2.56
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -204,7 +204,7 @@ export declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
204
204
|
identifier?: string | undefined;
|
|
205
205
|
url?: string | undefined;
|
|
206
206
|
}>>;
|
|
207
|
-
version: z.ZodDefault<z.ZodString
|
|
207
|
+
version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
209
|
title: string;
|
|
210
210
|
version: string;
|
|
@@ -102,7 +102,7 @@ export declare const oasInfoSchema: z.ZodObject<{
|
|
|
102
102
|
* REQUIRED. The version of the OpenAPI document (which is distinct from the OpenAPI
|
|
103
103
|
* Specification version or the API implementation version).
|
|
104
104
|
*/
|
|
105
|
-
version: z.ZodDefault<z.ZodString
|
|
105
|
+
version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
107
|
title: string;
|
|
108
108
|
version: string;
|
|
@@ -55,7 +55,7 @@ const oasInfoSchema = z.object({
|
|
|
55
55
|
* REQUIRED. The version of the OpenAPI document (which is distinct from the OpenAPI
|
|
56
56
|
* Specification version or the API implementation version).
|
|
57
57
|
*/
|
|
58
|
-
version: z.string().default('
|
|
58
|
+
version: z.string().optional().default('1.0'),
|
|
59
59
|
});
|
|
60
60
|
/**
|
|
61
61
|
* External Documentation
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"specification",
|
|
17
17
|
"yaml"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.2.
|
|
19
|
+
"version": "0.2.57",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
"zod": "^3.23.8",
|
|
109
109
|
"@scalar/object-utils": "1.1.10",
|
|
110
110
|
"@scalar/openapi-types": "0.1.3",
|
|
111
|
-
"@scalar/themes": "0.9.
|
|
112
|
-
"@scalar/types": "0.0.
|
|
111
|
+
"@scalar/themes": "0.9.38",
|
|
112
|
+
"@scalar/types": "0.0.16"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"rollup": "^4.16.4",
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
"vite": "^5.2.10",
|
|
118
118
|
"vitest": "^1.6.0",
|
|
119
119
|
"zod-to-ts": "^1.2.0",
|
|
120
|
-
"@scalar/openapi-parser": "0.8.6",
|
|
121
120
|
"@scalar/build-tooling": "0.1.11",
|
|
121
|
+
"@scalar/openapi-parser": "0.8.7",
|
|
122
122
|
"@scalar/openapi-types": "0.1.3"
|
|
123
123
|
},
|
|
124
124
|
"scripts": {
|