docusaurus-plugin-openapi-docs
Version:
OpenAPI plugin for Docusaurus.
10 lines (9 loc) • 424 B
TypeScript
import { SchemaObject } from "../openapi/types";
/**
* Returns a merged representation of allOf array of schemas.
*/
export declare function mergeAllOf(allOf: SchemaObject): SchemaObject;
/**
* Creates a hierarchical level of a schema tree. Nodes produce edges that can branch into sub-nodes with edges, recursively.
*/
export declare function createNodes(schema: SchemaObject, schemaType: "request" | "response"): any;