UNPKG

openapi-modifier

Version:

This package allows you to automate the process of modifying OpenAPI specifications by applying a set of predefined rules

26 lines (25 loc) 894 B
import { RuleProcessorT } from '../../core/rules/processor-models'; import { z } from 'zod'; declare const configSchema: z.ZodObject<{ ignore: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{ componentName: z.ZodString; }, "strict", z.ZodTypeAny, { componentName: string; }, { componentName: string; }>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, "many">>; printDeletedComponents: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { ignore?: (string | RegExp | { componentName: string; })[] | undefined; printDeletedComponents?: boolean | undefined; }, { ignore?: (string | RegExp | { componentName: string; })[] | undefined; printDeletedComponents?: boolean | undefined; }>; declare const processor: RuleProcessorT<typeof configSchema>; export default processor; export { configSchema };