@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.
package/dist/vendors/valibot.cjs
CHANGED
|
@@ -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);
|
package/dist/vendors/valibot.js
CHANGED
|
@@ -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);
|