@scalar/workspace-store 0.58.1 → 0.60.0

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/entities/auth/schema.d.ts +10 -0
  3. package/dist/entities/auth/schema.d.ts.map +1 -1
  4. package/dist/mutators/auth.d.ts.map +1 -1
  5. package/dist/mutators/auth.js +6 -2
  6. package/dist/navigation/get-navigation-options.js +3 -3
  7. package/dist/request-example/builder/body/build-request-body.d.ts.map +1 -1
  8. package/dist/request-example/builder/body/build-request-body.js +25 -0
  9. package/dist/request-example/builder/header/de-serialize-parameter.d.ts.map +1 -1
  10. package/dist/request-example/builder/header/de-serialize-parameter.js +15 -5
  11. package/dist/request-example/context/get-request-example-context.d.ts.map +1 -1
  12. package/dist/request-example/context/get-request-example-context.js +12 -7
  13. package/dist/request-example/types.d.ts +3 -0
  14. package/dist/request-example/types.d.ts.map +1 -1
  15. package/dist/schemas/extensions/document/x-scalar-default-request-body-view.d.ts +23 -0
  16. package/dist/schemas/extensions/document/x-scalar-default-request-body-view.d.ts.map +1 -0
  17. package/dist/schemas/extensions/document/x-scalar-default-request-body-view.js +23 -0
  18. package/dist/schemas/reference-config/index.d.ts +2 -0
  19. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  20. package/dist/schemas/reference-config/settings.d.ts +2 -0
  21. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  22. package/dist/schemas/v3.1/openapi/index.d.ts +2 -0
  23. package/dist/schemas/v3.1/openapi/index.d.ts.map +1 -1
  24. package/dist/schemas/v3.1/openapi/index.js +2 -0
  25. package/dist/schemas/v3.1/strict/openapi-document.d.ts +74 -1
  26. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  27. package/dist/schemas/v3.1/strict/openapi-document.js +2 -1
  28. package/dist/server.d.ts.map +1 -1
  29. package/dist/server.js +10 -3
  30. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @scalar/workspace-store
2
2
 
3
+ ## 0.60.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#9937](https://github.com/scalar/scalar/pull/9937): Add a way to open the request body editor in the Form view by default. Set the `defaultRequestBodyView: 'form'` config option, or the `x-scalar-default-request-body-view` extension in your OpenAPI document (which also works per source). Defaults to `raw`, and falls back to `raw` when a body cannot be shown as a form.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#10046](https://github.com/scalar/scalar/pull/10046): Stop sending optional form-body properties by default. Optional `multipart/form-data` and `application/x-www-form-urlencoded` properties now start unchecked and are left out of the request unless you enable them, matching how optional parameters already behave. Required properties are unaffected.
12
+ - [#10090](https://github.com/scalar/scalar/pull/10090): Stop truncating large numeric strings entered into `type: string` array query and header parameters. A value like a 20-digit reference number was accepted as valid JSON, parsed into a JS number, and lost precision beyond `Number.MAX_SAFE_INTEGER` before being sent. Such values now fall back to the comma-split string handling instead of being parsed as a number.
13
+ - [#9938](https://github.com/scalar/scalar/pull/9938): Fix OAuth2 scope selection freezing in the API reference auth panel. Selecting or deselecting scopes (including Select All and Deselect All) now updates the counter and checkboxes after the first change instead of getting stuck.
14
+ - [#10077](https://github.com/scalar/scalar/pull/10077): Escape OpenAPI component keys when writing static workspace chunks so a document with a key like `../../evil` cannot write files outside the assets directory
15
+
16
+ ## 0.59.0
17
+
18
+ ### Minor Changes
19
+
20
+ - feat: test OpenAPI webhooks from the API reference and API client
21
+
22
+ ### Patch Changes
23
+
24
+ - [#9950](https://github.com/scalar/scalar/pull/9950): Shorten AsyncAPI navigation id segments: `asyncapi-channel` → `channel`, `asyncapi-message` → `message`, and `asyncapi-operation` → `operation`. This makes the generated navigation ids (and the URLs, anchors, and DOM ids derived from them) shorter and consistent, e.g. `.../channel/planetevents/operation/subscribe/message/planetcreated`.
25
+
3
26
  ## 0.58.1
4
27
 
5
28
  ### Patch Changes
@@ -2328,6 +2328,8 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
2328
2328
  conflictCheckedAgainstHash: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2329
2329
  hasConflict: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
2330
2330
  }>>;
2331
+ }>, import("@scalar/typebox").TObject<{
2332
+ 'x-scalar-default-request-body-view': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"raw">]>>;
2331
2333
  }>, import("@scalar/typebox").TObject<{
2332
2334
  'x-pre-request': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2333
2335
  }>, import("@scalar/typebox").TObject<{
@@ -4339,6 +4341,8 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
4339
4341
  conflictCheckedAgainstHash: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4340
4342
  hasConflict: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
4341
4343
  }>>;
4344
+ }>, import("@scalar/typebox").TObject<{
4345
+ 'x-scalar-default-request-body-view': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"raw">]>>;
4342
4346
  }>, import("@scalar/typebox").TObject<{
4343
4347
  'x-pre-request': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4344
4348
  }>, import("@scalar/typebox").TObject<{
@@ -6132,6 +6136,8 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
6132
6136
  conflictCheckedAgainstHash: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6133
6137
  hasConflict: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
6134
6138
  }>>;
6139
+ }>, import("@scalar/typebox").TObject<{
6140
+ 'x-scalar-default-request-body-view': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"raw">]>>;
6135
6141
  }>, import("@scalar/typebox").TObject<{
6136
6142
  'x-pre-request': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6137
6143
  }>, import("@scalar/typebox").TObject<{
@@ -8145,6 +8151,8 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
8145
8151
  conflictCheckedAgainstHash: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8146
8152
  hasConflict: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
8147
8153
  }>>;
8154
+ }>, import("@scalar/typebox").TObject<{
8155
+ 'x-scalar-default-request-body-view': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"raw">]>>;
8148
8156
  }>, import("@scalar/typebox").TObject<{
8149
8157
  'x-pre-request': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8150
8158
  }>, import("@scalar/typebox").TObject<{
@@ -9938,6 +9946,8 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
9938
9946
  conflictCheckedAgainstHash: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9939
9947
  hasConflict: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
9940
9948
  }>>;
9949
+ }>, import("@scalar/typebox").TObject<{
9950
+ 'x-scalar-default-request-body-view': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"raw">]>>;
9941
9951
  }>, import("@scalar/typebox").TObject<{
9942
9952
  'x-pre-request': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9943
9953
  }>, import("@scalar/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/entities/auth/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAuBnD,QAAA,MAAM,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A2D3F,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,GACtB,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,2BAA2B,UAAU,CAAC,oBAAoB,CAAC,SAwB5D,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,oBAAoB,GAC/B,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,WAAW,UAAU,CAAC,6BAA6B,CAAC,SAmFrD,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,sBAGjC;IACD,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAA;CAC7B;6CAE4C,UAAU,CAAC,uCAAuC,CAAC;4CAEpD,UAAU,CAAC,sCAAsC,CAAC;oCAE1D,UAAU,CAAC,6BAA6B,CAAC;2CAElC,UAAU,CAAC,qCAAqC,CAAC;0CAElD,UAAU,CAAC,oCAAoC,CAAC;qCAErD,UAAU,CAAC,0BAA0B,CAAC;oCAEvC,UAAU,CAAC,6BAA6B,CAAC;2BAElD,UAAU,CAAC,oBAAoB,CAAC;2BAChC,UAAU,CAAC,oBAAoB,CAAC;oCACvB,UAAU,CAAC,6BAA6B,CAAC;CAG5E,CAAA"}
@@ -349,10 +349,14 @@ export const updateSelectedScopes = (store, document, { id, name, scopes, scope,
349
349
  if (nextScopes === undefined) {
350
350
  return;
351
351
  }
352
- nextScheme[name] = nextScopes;
352
+ // Replace the matched requirement with a fresh object instead of mutating it in place, so its
353
+ // identity changes on every scope update. The reference-side Authentication panel passes this
354
+ // object down as a prop and Vue diffs props by identity — an in-place mutation keeps the same
355
+ // reference and leaves the scope counter and checkboxes frozen after the first change. See #9589.
356
+ const updatedSelectedSchemes = nextSelectedSchemes.map((candidate) => candidate === nextScheme ? { ...nextScheme, [name]: nextScopes } : candidate);
353
357
  store?.auth.setAuthSelectedSchemas(meta.type === 'document'
354
358
  ? { type: 'document', documentName }
355
- : { type: 'operation', documentName, path: meta.path, method: meta.method }, { selectedIndex: target.selectedIndex, selectedSchemes: nextSelectedSchemes });
359
+ : { type: 'operation', documentName, path: meta.path, method: meta.method }, { selectedIndex: target.selectedIndex, selectedSchemes: updatedSelectedSchemes });
356
360
  };
357
361
  /**
358
362
  * Resolves the OAuth flow on a security scheme by name + flow type.
@@ -42,15 +42,15 @@ export const getNavigationOptions = (documentName, options) => {
42
42
  parentId: props.parentTag.id,
43
43
  })}/`
44
44
  : `${documentId}/`;
45
- return `${prefixTag}asyncapi-channel/${slugify(props.channelName)}`;
45
+ return `${prefixTag}channel/${slugify(props.channelName)}`;
46
46
  }
47
47
  // -------- Default AsyncAPI message id generation logic --------
48
48
  if (props.type === 'asyncapi-message') {
49
- return `${props.parentId}/asyncapi-message/${slugify(props.messageName)}`;
49
+ return `${props.parentId}/message/${slugify(props.messageName)}`;
50
50
  }
51
51
  // -------- Default AsyncAPI operation id generation logic --------
52
52
  if (props.type === 'asyncapi-operation') {
53
- return `${props.parentId}/asyncapi-operation/${slugify(props.operationName)}`;
53
+ return `${props.parentId}/operation/${slugify(props.operationName)}`;
54
54
  }
55
55
  // -------- Default operation id generation logic --------
56
56
  if (props.type === 'operation') {
@@ -1 +1 @@
1
- {"version":3,"file":"build-request-body.d.ts","sourceRoot":"","sources":["../../../../src/request-example/builder/body/build-request-body.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAA;AAOjG,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,UAAU,CAAA;IAChB,KAAK,EAAE,CACH;QACE,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;KACd,GACD;QACE,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,IAAI,CAAA;QACX,WAAW,CAAC,EAAE,MAAM,CAAA;KACrB,GACD;QACE,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,IAAI,CAAA;QACX,WAAW,CAAC,EAAE,MAAM,CAAA;KACrB,CACJ,EAAE,CAAA;CACJ,CAAA;AAED,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,YAAY,CAAA;IAClB,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;KACd,EAAE,CAAA;CACJ,CAAA;AAED,KAAK,GAAG,GAAG;IACT,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,GAAG,CAAA;AAKrD;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,aAAa,iBAAiB,GAAG,SAAS;AAC1C,qCAAqC;AACrC,oBAAuB;AACvB,sEAAsE;AACtE,kCAAkC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KACvD,WAAW,GAAG,IA2RhB,CAAA"}
1
+ {"version":3,"file":"build-request-body.d.ts","sourceRoot":"","sources":["../../../../src/request-example/builder/body/build-request-body.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAA;AAQjG,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE,UAAU,CAAA;IAChB,KAAK,EAAE,CACH;QACE,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;KACd,GACD;QACE,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,IAAI,CAAA;QACX,WAAW,CAAC,EAAE,MAAM,CAAA;KACrB,GACD;QACE,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,IAAI,CAAA;QACX,WAAW,CAAC,EAAE,MAAM,CAAA;KACrB,CACJ,EAAE,CAAA;CACJ,CAAA;AAED,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,YAAY,CAAA;IAClB,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;KACd,EAAE,CAAA;CACJ,CAAA;AAED,KAAK,GAAG,GAAG;IACT,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,GAAG,CAAA;AAKrD;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC3B,aAAa,iBAAiB,GAAG,SAAS;AAC1C,qCAAqC;AACrC,oBAAuB;AACvB,sEAAsE;AACtE,kCAAkC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KACvD,WAAW,GAAG,IAwThB,CAAA"}
@@ -3,6 +3,7 @@ import { isObject } from '@scalar/helpers/object/is-object';
3
3
  import { setValueAtPath } from '@scalar/helpers/object/set-value-at-path';
4
4
  import { getResolvedRef, mergeSiblingReferences } from '@scalar/workspace-store/helpers/get-resolved-ref';
5
5
  import { unpackProxyObject } from '@scalar/workspace-store/helpers/unpack-proxy';
6
+ import { isObjectSchema } from '@scalar/workspace-store/schemas/v3.1/strict/type-guards';
6
7
  import { getExampleFromBody } from './get-request-body-example.js';
7
8
  import { getSelectedBodyContentType } from './get-selected-body-content-type.js';
8
9
  import { buildDottedNestedRowPredicate, coerceLeafValueToSchemaType, resolveLeafSchema } from './schema-value-coercion.js';
@@ -29,6 +30,22 @@ requestBodyCompositionSelection) => {
29
30
  if (!example) {
30
31
  return null;
31
32
  }
33
+ // Optional body properties default to "not sent", matching how optional parameters are
34
+ // dropped by `isParamDisabled`. We only know a property is optional when the body has an
35
+ // object schema that declares it outside `required`, so undeclared and required keys are
36
+ // always kept. This mirrors the unchecked-by-default checkbox in the Test Request panel.
37
+ // The array (edited) form path is unaffected: it carries its own per-row `isDisabled`.
38
+ const resolvedBodySchema = getResolvedRef(requestBody.content[bodyContentType]?.schema, mergeSiblingReferences);
39
+ const objectBodySchema = resolvedBodySchema && isObjectSchema(resolvedBodySchema) ? resolvedBodySchema : undefined;
40
+ // Composition (allOf/oneOf/anyOf) can mark a property required inside a subschema we do not
41
+ // merge here, so skip dropping entirely for composed schemas rather than risk removing an
42
+ // effectively-required field.
43
+ const isComposed = Boolean(objectBodySchema?.allOf || objectBodySchema?.oneOf || objectBodySchema?.anyOf);
44
+ const bodyProperties = objectBodySchema && !isComposed ? objectBodySchema.properties : undefined;
45
+ const requiredBodyProperties = new Set(objectBodySchema && !isComposed ? (objectBodySchema.required ?? []) : []);
46
+ // `Object.hasOwn` (not `in`) so an undeclared key named like an `Object.prototype` member
47
+ // (`toString`, `constructor`, …) is not misread as declared-and-optional and dropped.
48
+ const isOptionalBodyProperty = (key) => Boolean(bodyProperties && Object.hasOwn(bodyProperties, key) && !requiredBodyProperties.has(key));
32
49
  // Form data - array format (from UI editor)
33
50
  if ((bodyContentType === 'multipart/form-data' || bodyContentType === 'application/x-www-form-urlencoded') &&
34
51
  Array.isArray(example.value)) {
@@ -148,6 +165,10 @@ requestBodyCompositionSelection) => {
148
165
  };
149
166
  // Convert object properties to form fields
150
167
  for (const [key, value] of Object.entries(example.value)) {
168
+ // Optional properties are left out unless the user enabled them (edited form path).
169
+ if (isOptionalBodyProperty(key)) {
170
+ continue;
171
+ }
151
172
  if (key && value !== undefined && value !== null) {
152
173
  const partEncoding = requestBody.content[bodyContentType]?.encoding?.[key];
153
174
  // Encoding style/explode turns objects into bracket or exploded notation.
@@ -177,6 +198,10 @@ requestBodyCompositionSelection) => {
177
198
  if (!key || value === undefined || value === null) {
178
199
  continue;
179
200
  }
201
+ // Optional properties are left out unless the user enabled them (edited form path).
202
+ if (isOptionalBodyProperty(key)) {
203
+ continue;
204
+ }
180
205
  const partEncoding = requestBody.content[bodyContentType]?.encoding?.[key];
181
206
  // Encoding style/explode turns objects into bracket or exploded notation instead of
182
207
  // the default single JSON part.
@@ -1 +1 @@
1
- {"version":3,"file":"de-serialize-parameter.d.ts","sourceRoot":"","sources":["../../../../src/request-example/builder/header/de-serialize-parameter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,yBAAyB,EAC1B,MAAM,8DAA8D,CAAA;AAErE;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,EAAE,OAAO,eAAe,QAS5E,CAAA;AA0DD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,GAAI,SAAS,OAAO,EAAE,QAAQ,yBAAyB,CAAC,QAAQ,CAAC,QAiBnG,CAAA"}
1
+ {"version":3,"file":"de-serialize-parameter.d.ts","sourceRoot":"","sources":["../../../../src/request-example/builder/header/de-serialize-parameter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,yBAAyB,EAC1B,MAAM,8DAA8D,CAAA;AAErE;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,SAAS,OAAO,EAAE,OAAO,eAAe,QAS5E,CAAA;AA0DD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,GAAI,SAAS,OAAO,EAAE,QAAQ,yBAAyB,CAAC,QAAQ,CAAC,QA6BnG,CAAA"}
@@ -80,13 +80,23 @@ export const deSerializeSchemaValue = (example, schema) => {
80
80
  const type = getStructuredType(schema);
81
81
  if (type) {
82
82
  try {
83
- return JSON.parse(example);
83
+ const parsed = JSON.parse(example);
84
+ if (type !== 'array' || Array.isArray(parsed)) {
85
+ return parsed;
86
+ }
87
+ // A bare numeric string is valid JSON too (e.g. a 20-digit reference number), but parsing it
88
+ // would turn it into a precision-losing JS number instead of the array the schema expects. A
89
+ // quoted string is a deliberate escape hatch, so keep it as a single-item array.
90
+ if (typeof parsed === 'string') {
91
+ return [parsed];
92
+ }
84
93
  }
85
94
  catch {
86
- // Arrays: users often type `foo,bar` instead of JSON — split to match default form+explode query style.
87
- if (type === 'array') {
88
- return example.split(/,\s?/).filter((v) => v !== '');
89
- }
95
+ // Not JSON at all: fall through to the comma-split handling below.
96
+ }
97
+ // Arrays: users often type `foo,bar` instead of JSON — split to match default form+explode query style.
98
+ if (type === 'array') {
99
+ return example.split(/,\s?/).filter((v) => v !== '');
90
100
  }
91
101
  }
92
102
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get-request-example-context.d.ts","sourceRoot":"","sources":["../../../src/request-example/context/get-request-example-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAE9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAGpD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAA;AAIjG,OAAO,EAAE,KAAK,MAAM,EAAqB,MAAM,iCAAiC,CAAA;AAIhF,OAAO,EAAE,KAAK,qBAAqB,EAAiB,MAAM,mDAAmD,CAAA;AAE7G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAA;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAA;AAElF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAA;AAC3F,OAAO,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EAAE,iBAAiB,GAAG,IAAI,CAAA;CAC3C,CAAM,KACN,MAAM,CAAC,0BAA0B,CA6InC,CAAA"}
1
+ {"version":3,"file":"get-request-example-context.d.ts","sourceRoot":"","sources":["../../../src/request-example/context/get-request-example-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAE9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAGpD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAA;AAIjG,OAAO,EAAE,KAAK,MAAM,EAAqB,MAAM,iCAAiC,CAAA;AAIhF,OAAO,EAAE,KAAK,qBAAqB,EAAiB,MAAM,mDAAmD,CAAA;AAE7G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AACzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAA;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAA;AAElF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAA;AAC3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,EAAE,eAAe,CAAA;IAC1B,WAAW,EAAE;QACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;QACnB,WAAW,EAAE,kBAAkB,CAAA;KAChC,CAAA;IACD,OAAO,EAAE;QACP,SAAS,EAAE,aAAa,EAAE,CAAA;QAC1B,QAAQ,EAAE,aAAa,EAAE,CAAA;KAC1B,CAAA;IACD,OAAO,EAAE;QACP,IAAI,EAAE,YAAY,EAAE,CAAA;QACpB,QAAQ,EAAE,YAAY,GAAG,IAAI,CAAA;QAC7B,IAAI,EAAE,UAAU,CAAA;KACjB,CAAA;IACD,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KACnB,CAAA;IACD,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAChC,CAAA;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,qBAAqB,CAAA;QAC9B,YAAY,EAAE,yBAAyB,EAAE,CAAA;QACzC,QAAQ,EAAE,gBAAgB,CAAA;QAC1B,eAAe,EAAE,0BAA0B,EAAE,CAAA;QAC7C,IAAI,EAAE,QAAQ,CAAA;KACf,CAAA;CACF,CAAA;AAED,eAAO,MAAM,wBAAwB,GACnC,gBAAgB,cAAc,EAC9B,cAAc,MAAM,EACpB,oBAAoB,kBAAkB,EACtC,UAAS,OAAO,CAAC;IACf,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,+CAA+C;IAC/C,cAAc,EAAE,2BAA2B,CAAA;IAC3C;;;;OAIG;IACH,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAA;CAC3C,CAAM,KACN,MAAM,CAAC,0BAA0B,CAkJnC,CAAA"}
@@ -11,7 +11,7 @@ import { mergeSecurity } from '../../request-example/context/security/merge-secu
11
11
  import { getSelectedServer, getServers } from '../../request-example/context/servers.js';
12
12
  import { isOpenApiDocument } from '../../schemas/type-guards.js';
13
13
  export const getRequestExampleContext = (workspaceStore, documentName, requestExampleMeta, options = {}) => {
14
- const { path, method, exampleName } = requestExampleMeta;
14
+ const { path, method, exampleName, isWebhook = false } = requestExampleMeta;
15
15
  const document = workspaceStore.workspace.documents[documentName] ?? options.fallbackDocument ?? undefined;
16
16
  if (!document) {
17
17
  return {
@@ -25,18 +25,18 @@ export const getRequestExampleContext = (workspaceStore, documentName, requestEx
25
25
  error: `Document ${documentName} is not an OpenAPI document`,
26
26
  };
27
27
  }
28
- const pathItem = getResolvedPathItem(document.paths?.[path]);
28
+ const pathItem = getResolvedPathItem(isWebhook ? document.webhooks?.[path] : document.paths?.[path]);
29
29
  if (!pathItem) {
30
30
  return {
31
31
  ok: false,
32
- error: `Path ${path} not found`,
32
+ error: isWebhook ? `Webhook ${path} not found` : `Path ${path} not found`,
33
33
  };
34
34
  }
35
- const resolvedOperation = getResolvedRef(getPathItemOperation(document.paths?.[path], method));
35
+ const resolvedOperation = getResolvedRef(getPathItemOperation(pathItem, method));
36
36
  if (!resolvedOperation) {
37
37
  return {
38
38
  ok: false,
39
- error: `Method ${method} not found on path ${path}`,
39
+ error: isWebhook ? `Method ${method} not found on webhook ${path}` : `Method ${method} not found on path ${path}`,
40
40
  };
41
41
  }
42
42
  // Combine the path item and operation parameters
@@ -53,7 +53,10 @@ export const getRequestExampleContext = (workspaceStore, documentName, requestEx
53
53
  // SERVER CONTEXT
54
54
  //------------------------------------------------------------------------------------------------
55
55
  // Get server context for the request example
56
- const serverList = getServers(options.servers ?? operation.servers ?? document.servers, {
56
+ const configuredServers = isWebhook
57
+ ? (options.servers ?? operation.servers)
58
+ : (options.servers ?? operation.servers ?? document.servers);
59
+ const serverList = getServers(configuredServers, {
57
60
  baseServerUrl: options.baseServerUrl,
58
61
  documentUrl: document['x-scalar-original-source-url'],
59
62
  });
@@ -76,7 +79,9 @@ export const getRequestExampleContext = (workspaceStore, documentName, requestEx
76
79
  const selectedSecurity = getSelectedSecurity(documentSelectedSecurity, operationSelectedSecurity, securityRequirements, securitySchemes, options.authentication?.preferredSecurityScheme);
77
80
  /** The above selected requirements in scheme form */
78
81
  const selectedSecuritySchemes = getSecuritySchemes(securitySchemes, selectedSecurity.selectedSchemes[selectedSecurity.selectedIndex] ?? {});
79
- const serverMeta = operation.servers != null ? { type: 'operation', path: path ?? '', method: method ?? 'get' } : { type: 'document' };
82
+ const serverMeta = !isWebhook && operation.servers != null
83
+ ? { type: 'operation', path: path ?? '', method: method ?? 'get' }
84
+ : { type: 'document' };
80
85
  const authMeta = operationSelectedSecurity !== undefined
81
86
  ? { type: 'operation', path: path ?? '', method: method ?? 'get' }
82
87
  : { type: 'document' };
@@ -6,8 +6,11 @@ import type { HttpMethod } from '@scalar/helpers/http/http-methods';
6
6
  */
7
7
  export type { Result } from '@scalar/helpers/types/result';
8
8
  export type RequestExampleMeta = {
9
+ /** API path, or webhook name when `isWebhook` is true. */
9
10
  path: string;
10
11
  method: HttpMethod;
11
12
  exampleName: string;
13
+ /** Resolve the operation from `document.webhooks` instead of `document.paths`. */
14
+ isWebhook?: boolean;
12
15
  };
13
16
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/request-example/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE;;;;GAIG;AACH,YAAY,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAE1D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/request-example/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE;;;;GAIG;AACH,YAAY,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAE1D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,UAAU,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,kFAAkF;IAClF,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Schema for the x-scalar-default-request-body-view extension on an OpenAPI document.
3
+ *
4
+ * Sets the initial view of the request body editor for structured (JSON/YAML) bodies.
5
+ * Use `form` to open the schema-driven form view by default, or `raw` for the code editor.
6
+ * When the body cannot be shown as a form, Scalar falls back to `raw` automatically.
7
+ *
8
+ * @example
9
+ * ```yaml
10
+ * x-scalar-default-request-body-view: form
11
+ * ```
12
+ */
13
+ export declare const XScalarDefaultRequestBodyViewSchema: import("@scalar/typebox").TObject<{
14
+ 'x-scalar-default-request-body-view': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"raw">]>>;
15
+ }>;
16
+ export type XScalarDefaultRequestBodyView = {
17
+ /** Initial request body editor view for structured bodies. Defaults to `raw`. */
18
+ 'x-scalar-default-request-body-view'?: 'form' | 'raw';
19
+ };
20
+ export declare const XScalarDefaultRequestBodyView: import("@scalar/validation").ObjectSchema<{
21
+ 'x-scalar-default-request-body-view': import("@scalar/validation").OptionalSchema<import("@scalar/validation").UnionSchema<readonly [import("@scalar/validation").LiteralSchema<"form">, import("@scalar/validation").LiteralSchema<"raw">]>>;
22
+ }>;
23
+ //# sourceMappingURL=x-scalar-default-request-body-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-scalar-default-request-body-view.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/document/x-scalar-default-request-body-view.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mCAAmC;;EAE9C,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,iFAAiF;IACjF,oCAAoC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CACtD,CAAA;AAED,eAAO,MAAM,6BAA6B;;EAQzC,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { Type } from '@scalar/typebox';
2
+ import { literal, object, optional, union } from '@scalar/validation';
3
+ /**
4
+ * Schema for the x-scalar-default-request-body-view extension on an OpenAPI document.
5
+ *
6
+ * Sets the initial view of the request body editor for structured (JSON/YAML) bodies.
7
+ * Use `form` to open the schema-driven form view by default, or `raw` for the code editor.
8
+ * When the body cannot be shown as a form, Scalar falls back to `raw` automatically.
9
+ *
10
+ * @example
11
+ * ```yaml
12
+ * x-scalar-default-request-body-view: form
13
+ * ```
14
+ */
15
+ export const XScalarDefaultRequestBodyViewSchema = Type.Object({
16
+ 'x-scalar-default-request-body-view': Type.Optional(Type.Union([Type.Literal('form'), Type.Literal('raw')])),
17
+ });
18
+ export const XScalarDefaultRequestBodyView = object({
19
+ 'x-scalar-default-request-body-view': optional(union([literal('form'), literal('raw')])),
20
+ }, {
21
+ typeName: 'XScalarDefaultRequestBodyView',
22
+ typeComment: 'Initial request body editor view for structured bodies (form or raw)',
23
+ });
@@ -1624,6 +1624,8 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1624
1624
  conflictCheckedAgainstHash: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1625
1625
  hasConflict: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1626
1626
  }>>;
1627
+ }>, import("@scalar/typebox").TObject<{
1628
+ 'x-scalar-default-request-body-view': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[TLiteral<"form">, TLiteral<"raw">]>>;
1627
1629
  }>, import("@scalar/typebox").TObject<{
1628
1630
  'x-pre-request': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1629
1631
  }>, import("@scalar/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,E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CAAA;IACnB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,WAAW,CAAC,EAAE,gBAAgB,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,eAAe,CAgChE,CAAA"}
@@ -1610,6 +1610,8 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1610
1610
  conflictCheckedAgainstHash: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1611
1611
  hasConflict: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1612
1612
  }>>;
1613
+ }>, import("@scalar/typebox").TObject<{
1614
+ 'x-scalar-default-request-body-view': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"form">, import("@scalar/typebox").TLiteral<"raw">]>>;
1613
1615
  }>, import("@scalar/typebox").TObject<{
1614
1616
  'x-pre-request': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1615
1617
  }>, import("@scalar/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
@@ -138,6 +138,8 @@ export declare const generateSchema: (maybeRef: (inner: Schema) => Schema, optio
138
138
  conflictCheckedAgainstHash: import("@scalar/validation").OptionalSchema<import("@scalar/validation").StringSchema>;
139
139
  hasConflict: import("@scalar/validation").OptionalSchema<import("@scalar/validation").BooleanSchema>;
140
140
  }>>;
141
+ }>, import("@scalar/validation").ObjectSchema<{
142
+ 'x-scalar-default-request-body-view': import("@scalar/validation").OptionalSchema<import("@scalar/validation").UnionSchema<readonly [import("@scalar/validation").LiteralSchema<"form">, import("@scalar/validation").LiteralSchema<"raw">]>>;
141
143
  }>, import("@scalar/validation").ObjectSchema<{
142
144
  'x-pre-request': import("@scalar/validation").OptionalSchema<import("@scalar/validation").StringSchema>;
143
145
  }>, import("@scalar/validation").ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/openapi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAaZ,MAAM,oBAAoB,CAAA;AA6C3B,0CAA0C;AAC1C,KAAK,qBAAqB,GAAG;IAC3B;;;;;;OAMG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAC/B,CAAA;AA8DD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,KAAG,MAyM1E,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,EAAE,UAAS,qBAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAu1BtG,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/openapi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAaZ,MAAM,oBAAoB,CAAA;AA8C3B,0CAA0C;AAC1C,KAAK,qBAAqB,GAAG;IAC3B;;;;;;OAMG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAC/B,CAAA;AA8DD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,KAAG,MAyM1E,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,EAAE,UAAS,qBAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAw1BtG,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import { any, array, boolean, intersection, lazy, literal, number, object, optional, record, string, union, } from '@scalar/validation';
2
2
  import { extensions } from '../../../schemas/extensions.js';
3
3
  import { XInternal } from '../../../schemas/extensions/document/x-internal.js';
4
+ import { XScalarDefaultRequestBodyView } from '../../../schemas/extensions/document/x-scalar-default-request-body-view.js';
4
5
  import { XScalarEnvironments } from '../../../schemas/extensions/document/x-scalar-environments.js';
5
6
  import { XScalarIcon } from '../../../schemas/extensions/document/x-scalar-icon.js';
6
7
  import { XScalarIgnore } from '../../../schemas/extensions/document/x-scalar-ignore.js';
@@ -710,6 +711,7 @@ export const generateSchema = (maybeRef, options = {}) => {
710
711
  XScalarActiveEnvironment,
711
712
  XScalarWatchMode,
712
713
  XScalarRegistryMeta,
714
+ XScalarDefaultRequestBodyView,
713
715
  XPreRequest,
714
716
  XPostResponse,
715
717
  ], {