plugins
Type: IPluginGeneratorClass[] | Default: undefined
Usage
typescript
// openapi.config.ts
import { GeneratorConfig } from 'ng-openapi';
import { HttpResourcePlugin } from '@ng-openapi/http-resource';
export default {
plugins: [HttpResourcePlugin],
... // other configurations
} as GeneratorConfig;WARNING
plugins is a top-level configuration property, not part of options. A plugins array placed inside options is silently ignored.
Available Plugins
- HttpResourcePlugin
- ZodPlugin (Beta)
Notes
- Third-party plugins can be written against the documented contract — see Plugin Authoring