internal.MapToSchema
Home > @backstage/backend-openapi-utils
> internal
> MapToSchema
Signature:
export type MapToSchema<Doc extends RequiredDoc, T extends Record<string, ImmutableParameterObject>> = {
[V in keyof T]: NonNullable<T[V]> extends ImmutableParameterObject ? ParameterSchema<Doc, NonNullable<T[V]>['schema']> : never;
};
References: RequiredDoc, ImmutableParameterObject, ParameterSchema