internal.StaticRequestBodySchema
Home > @backstage/backend-openapi-utils
> internal
> StaticRequestBodySchema
Signature:
export type StaticRequestBodySchema<Doc extends EndpointMap, Endpoint extends DocEndpoint<Doc>, Method extends DocEndpointMethod<Doc, Endpoint>> = `#${Method}|${Endpoint}` extends keyof Doc ? 'body' extends keyof Doc[`#${Method}|${Endpoint}`] ? Doc[`#${Method}|${Endpoint}`]['body'] : unknown : unknown;
References: EndpointMap, DocEndpoint, DocEndpointMethod