Skip to content

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

Notes

  • Third-party plugins can be written against the documented contract — see Plugin Authoring

Released under the MIT License.
This site is powered by Netlify
Impressum