@kubb/adapter-oas 5.29.2 → 5.29.3

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/dist/index.cjs CHANGED
@@ -15,7 +15,7 @@ var compatibility = {
15
15
  "node": ">=22.22"
16
16
  };
17
17
  // package.json
18
- var version = "5.29.2";
18
+ var version = "5.29.3";
19
19
  // src/constants.ts
20
20
  /**
21
21
  * Default parser options applied when no explicit options are provided.
@@ -4645,9 +4645,9 @@ function toInputMeta({ document, server, authSchemes }) {
4645
4645
  }
4646
4646
  /**
4647
4647
  * Default Kubb adapter for OpenAPI 2.0, 3.0, 3.1, and 3.2 specifications. Reads the
4648
- * spec from `input` (a file path, URL, inline content, or parsed object), validates
4649
- * it, resolves the base URL, and converts every schema and operation into the
4650
- * universal AST that every downstream plugin consumes.
4648
+ * spec from `input` (a file path, URL, inline content, or parsed object), resolves
4649
+ * the base URL, and converts every schema and operation into the universal AST that
4650
+ * every downstream plugin consumes. Set `validate: true` to also check the spec.
4651
4651
  *
4652
4652
  * Configure once on `defineConfig`. The adapter's choices (date representation,
4653
4653
  * integer width, server URL) apply to every plugin in the build.
@@ -4678,7 +4678,7 @@ const adapterOas = (0, _kubb_core.defineExtension)({
4678
4678
  compatibility,
4679
4679
  issues: "https://github.com/kubb-labs/kubb/issues"
4680
4680
  },
4681
- setup: ({ validate = true, contentType, server, discriminator = "preserve", enums = "inline", pathParamsCasing, dateType = DEFAULT_PARSER_OPTIONS.dateType, integerType = DEFAULT_PARSER_OPTIONS.integerType, unknownType = DEFAULT_PARSER_OPTIONS.unknownType, enumSuffix = DEFAULT_PARSER_OPTIONS.enumSuffix, emptySchemaType = unknownType || DEFAULT_PARSER_OPTIONS.emptySchemaType }) => ({
4681
+ setup: ({ validate = false, contentType, server, discriminator = "preserve", enums = "inline", pathParamsCasing, dateType = DEFAULT_PARSER_OPTIONS.dateType, integerType = DEFAULT_PARSER_OPTIONS.integerType, unknownType = DEFAULT_PARSER_OPTIONS.unknownType, enumSuffix = DEFAULT_PARSER_OPTIONS.enumSuffix, emptySchemaType = unknownType || DEFAULT_PARSER_OPTIONS.emptySchemaType }) => ({
4682
4682
  validate,
4683
4683
  contentType,
4684
4684
  server,