import { convertToOpenAPISchema } from './chunk-N22YZ2SO.js';
import { toJsonSchema } from './chunk-B5MDFOOY.js';

// ../../node_modules/.pnpm/@standard-community+standard-openapi@0.2.9_@standard-community+standard-json@0.3.5_@sta_a8f2af4507f30d3c5e839067d4aa4952/node_modules/@standard-community/standard-openapi/dist/default-u_dwuiYb.js
function getToOpenAPISchemaFn() {
  return async (schema, context) => convertToOpenAPISchema(
    await toJsonSchema(schema, context.options),
    context
  );
}

export { getToOpenAPISchemaFn };
//# sourceMappingURL=chunk-OM4GXHMV.js.map
//# sourceMappingURL=chunk-OM4GXHMV.js.map