Skip to main content
Version: Next

internal.RequestBodySchema

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

Signature:

export type RequestBodySchema<Doc extends RequiredDoc, Path extends DocPath<Doc>, Method extends DocPathMethod<Doc, Path>> = RequestBody<Doc, Path, Method> extends ImmutableRequestBodyObject ? ObjectWithContentSchema<Doc, RequestBody<Doc, Path, Method>> : never;

References: RequiredDoc, DocPath, DocPathMethod, RequestBody, ImmutableRequestBodyObject, ObjectWithContentSchema