fork of hey-api/openapi-ts because I need some additional things
1import type { NamingConfig, SchemaProcessorContext } from '@hey-api/shared';
2
3import type { PydanticPlugin } from '../types';
4import type { PydanticFinal } from './types';
5
6export type ProcessorContext = SchemaProcessorContext & {
7 /** Whether to export the result (default: true) */
8 export?: boolean;
9 naming: NamingConfig;
10 /** The plugin instance. */
11 plugin: PydanticPlugin['Instance'];
12};
13
14export type ProcessorResult = {
15 process: (ctx: ProcessorContext) => PydanticFinal | void;
16};