-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
Having access to e.g. the visitor config types definition, would greatly help when developing a local plugin. I always struggle to discover how the API is shaped and what possibilities I have to accomplish a transformation.
Other types for anything a user can plug into redocly.
Describe the solution you'd like
Export more types that would be helpful for developing local plugins.
Describe alternatives you've considered
I tried digging into the Plugin
type that is exported, but I didn't manage to access all the types that I needed.
import type { Plugin as RedoclyPlugin } from "@redocly/openapi-core";
export type Plugin = RedoclyPlugin;
export type Decorators = NonNullable<Plugin["decorators"]>
export type Oas3DecoratorsSet = NonNullable<Decorators["oas3"]>
Additional context
"@redocly/cli": "2.0.8",