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