@scalar/oas-utils 0.4.30 → 0.4.31
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 +11 -0
- package/dist/entities/spec/request-examples.d.ts +10 -10
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @scalar/oas-utils
|
|
2
2
|
|
|
3
|
+
## 0.4.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [7be091c]
|
|
8
|
+
- Updated dependencies [f0f28a9]
|
|
9
|
+
- Updated dependencies [41d8600]
|
|
10
|
+
- Updated dependencies [db966b4]
|
|
11
|
+
- @scalar/workspace-store@0.15.8
|
|
12
|
+
- @scalar/json-magic@0.5.1
|
|
13
|
+
|
|
3
14
|
## 0.4.30
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -164,10 +164,10 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
|
|
|
164
164
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
value: string;
|
|
167
|
-
encoding: "xml" | "json" | "
|
|
167
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
168
168
|
mimeType?: string | undefined;
|
|
169
169
|
}, {
|
|
170
|
-
encoding: "xml" | "json" | "
|
|
170
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
171
171
|
value?: string | undefined;
|
|
172
172
|
mimeType?: string | undefined;
|
|
173
173
|
}>>;
|
|
@@ -312,7 +312,7 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
|
|
|
312
312
|
} | undefined;
|
|
313
313
|
raw?: {
|
|
314
314
|
value: string;
|
|
315
|
-
encoding: "xml" | "json" | "
|
|
315
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
316
316
|
mimeType?: string | undefined;
|
|
317
317
|
} | undefined;
|
|
318
318
|
}, {
|
|
@@ -337,7 +337,7 @@ export declare const exampleRequestBodySchema: z.ZodObject<{
|
|
|
337
337
|
encoding?: "form-data" | "urlencoded" | undefined;
|
|
338
338
|
} | undefined;
|
|
339
339
|
raw?: {
|
|
340
|
-
encoding: "xml" | "json" | "
|
|
340
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
341
341
|
value?: string | undefined;
|
|
342
342
|
mimeType?: string | undefined;
|
|
343
343
|
} | undefined;
|
|
@@ -392,10 +392,10 @@ export declare const requestExampleSchema: z.ZodObject<{
|
|
|
392
392
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
394
|
value: string;
|
|
395
|
-
encoding: "xml" | "json" | "
|
|
395
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
396
396
|
mimeType?: string | undefined;
|
|
397
397
|
}, {
|
|
398
|
-
encoding: "xml" | "json" | "
|
|
398
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
399
399
|
value?: string | undefined;
|
|
400
400
|
mimeType?: string | undefined;
|
|
401
401
|
}>>;
|
|
@@ -540,7 +540,7 @@ export declare const requestExampleSchema: z.ZodObject<{
|
|
|
540
540
|
} | undefined;
|
|
541
541
|
raw?: {
|
|
542
542
|
value: string;
|
|
543
|
-
encoding: "xml" | "json" | "
|
|
543
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
544
544
|
mimeType?: string | undefined;
|
|
545
545
|
} | undefined;
|
|
546
546
|
}, {
|
|
@@ -565,7 +565,7 @@ export declare const requestExampleSchema: z.ZodObject<{
|
|
|
565
565
|
encoding?: "form-data" | "urlencoded" | undefined;
|
|
566
566
|
} | undefined;
|
|
567
567
|
raw?: {
|
|
568
|
-
encoding: "xml" | "json" | "
|
|
568
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
569
569
|
value?: string | undefined;
|
|
570
570
|
mimeType?: string | undefined;
|
|
571
571
|
} | undefined;
|
|
@@ -1103,7 +1103,7 @@ export declare const requestExampleSchema: z.ZodObject<{
|
|
|
1103
1103
|
} | undefined;
|
|
1104
1104
|
raw?: {
|
|
1105
1105
|
value: string;
|
|
1106
|
-
encoding: "xml" | "json" | "
|
|
1106
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1107
1107
|
mimeType?: string | undefined;
|
|
1108
1108
|
} | undefined;
|
|
1109
1109
|
};
|
|
@@ -1201,7 +1201,7 @@ export declare const requestExampleSchema: z.ZodObject<{
|
|
|
1201
1201
|
encoding?: "form-data" | "urlencoded" | undefined;
|
|
1202
1202
|
} | undefined;
|
|
1203
1203
|
raw?: {
|
|
1204
|
-
encoding: "xml" | "json" | "
|
|
1204
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1205
1205
|
value?: string | undefined;
|
|
1206
1206
|
mimeType?: string | undefined;
|
|
1207
1207
|
} | undefined;
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"specification",
|
|
17
17
|
"yaml"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.4.
|
|
19
|
+
"version": "0.4.31",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=20"
|
|
22
22
|
},
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
"yaml": "2.8.0",
|
|
102
102
|
"zod": "3.24.1",
|
|
103
103
|
"@scalar/helpers": "0.0.11",
|
|
104
|
-
"@scalar/
|
|
105
|
-
"@scalar/json-magic": "0.5.0",
|
|
104
|
+
"@scalar/json-magic": "0.5.1",
|
|
106
105
|
"@scalar/object-utils": "1.2.7",
|
|
106
|
+
"@scalar/openapi-types": "0.3.7",
|
|
107
107
|
"@scalar/themes": "0.13.18",
|
|
108
108
|
"@scalar/types": "0.2.16",
|
|
109
|
-
"@scalar/workspace-store": "0.15.
|
|
109
|
+
"@scalar/workspace-store": "0.15.8"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@types/node": "^22.9.0",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"vitest": "3.2.4",
|
|
116
116
|
"zod-to-ts": "github:amritk/zod-to-ts#build",
|
|
117
117
|
"@scalar/build-tooling": "0.2.7",
|
|
118
|
-
"@scalar/openapi-parser": "0.21.
|
|
118
|
+
"@scalar/openapi-parser": "0.21.1",
|
|
119
119
|
"@scalar/openapi-types": "0.3.7"
|
|
120
120
|
},
|
|
121
121
|
"scripts": {
|