internal.ResponseSchemas
Home > @backstage/backend-openapi-utils
> internal
> ResponseSchemas
Signature:
export type ResponseSchemas<Doc extends RequiredDoc, Path extends DocPath<Doc>, Method extends DocPathMethod<Doc, Path>> = {
[StatusCode in keyof DocOperation<Doc, Path, Method>['responses']]: Response<Doc, Path, Method, StatusCode> extends ImmutableResponseObject ? ObjectWithContentSchema<Doc, Response<Doc, Path, Method, StatusCode>> : never;
};
References: RequiredDoc, DocPath, DocPathMethod, DocOperation, ImmutableResponseObject, ObjectWithContentSchema