@kubb/plugin-oas
Version:
Generator swagger
24 lines (21 loc) • 631 B
TypeScript
import * as react from 'react';
import { SchemaObject } from '@kubb/oas';
import { Key, KubbNode } from '@kubb/react/types';
import { f as Schema$1 } from './OperationGenerator-DiF6WJNP.js';
type SchemaContextProps = {
name: string;
schema?: SchemaObject;
tree: Array<Schema$1>;
};
type Props = {
key?: Key;
name: string;
value?: SchemaObject;
tree?: Array<Schema$1>;
children?: KubbNode;
};
declare function Schema({ name, value, tree, children }: Props): any;
declare namespace Schema {
var Context: react.Context<SchemaContextProps>;
}
export { Schema as S, type SchemaContextProps as a };