Skip to main content
Version: Next

internal.DocParameter

Home > @backstage/backend-openapi-utils > internal > DocParameter

Signature:

export type DocParameter<Doc extends RequiredDoc, Path extends DocPath<Doc>, Method extends DocPathMethod<Doc, Path>, Parameter extends keyof DocOperation<Doc, Path, Method>['parameters']> = DocOperation<Doc, Path, Method>['parameters'][Parameter] extends ImmutableReferenceObject ? 'parameters' extends ComponentTypes<Doc> ? ComponentRef<Doc, 'parameters', DocOperation<Doc, Path, Method>['parameters'][Parameter]> : never : DocOperation<Doc, Path, Method>['parameters'][Parameter];

References: RequiredDoc, DocPath, DocPathMethod, DocOperation, ImmutableReferenceObject, ComponentTypes, ComponentRef