@standard-community/standard-openapi 0.2.6 → 0.2.7

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.
@@ -6,6 +6,7 @@ var convert = require('./convert.cjs');
6
6
  function getToOpenAPISchemaFn() {
7
7
  return async (schema, context) => {
8
8
  const openapiSchema = await standardJson.toJsonSchema(schema, {
9
+ errorMode: "ignore",
9
10
  // @ts-expect-error
10
11
  overrideAction: ({ valibotAction, jsonSchema }) => {
11
12
  const _jsonSchema = convert.convertToOpenAPISchema(jsonSchema, context);
@@ -4,6 +4,7 @@ import { convertToOpenAPISchema } from './convert.js';
4
4
  function getToOpenAPISchemaFn() {
5
5
  return async (schema, context) => {
6
6
  const openapiSchema = await toJsonSchema(schema, {
7
+ errorMode: "ignore",
7
8
  // @ts-expect-error
8
9
  overrideAction: ({ valibotAction, jsonSchema }) => {
9
10
  const _jsonSchema = convertToOpenAPISchema(jsonSchema, context);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standard-community/standard-openapi",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.cjs",