UNPKG

@omnigraph/openapi

Version:
15 lines (14 loc) 699 B
import { MeshFetch } from '@graphql-mesh/types'; import { OpenAPILoaderOptions } from './types.js'; export { loadGraphQLSchemaFromOpenAPI as default } from './loadGraphQLSchemaFromOpenAPI.js'; export * from './loadGraphQLSchemaFromOpenAPI.js'; export { getJSONSchemaOptionsFromOpenAPIOptions } from './getJSONSchemaOptionsFromOpenAPIOptions.js'; export { OpenAPILoaderOptions } from './types.js'; export declare function loadOpenAPISubgraph(name: string, options: OpenAPILoaderOptions): (ctx: { fetch: MeshFetch; cwd: string; }) => { name: string; schema$: Promise<import("graphql").GraphQLSchema>; }; export { processDirectives, getSubgraphExecutor } from '@omnigraph/json-schema';