allof-merge
Version:
Simplify JsonSchema/Openapi by combining allOf safely
5 lines (4 loc) • 297 B
TypeScript
import type { MergeRules } from "../types";
export declare const jsonSchemaVersion: readonly ["draft-04", "draft-06"];
export type JsonSchemaVersion = typeof jsonSchemaVersion[number];
export declare const jsonSchemaMergeRules: (draft?: JsonSchemaVersion, customRules?: MergeRules) => MergeRules;