internal.TemplateToDocEndpoint
Home > @backstage/backend-openapi-utils
> internal
> TemplateToDocEndpoint
Signature:
export type TemplateToDocEndpoint<Doc extends EndpointMap, Path extends DocEndpointTemplate<Doc>> = ValueOf<{
[Template in DocEndpoint<Doc>]: Path extends PathTemplate<Template> ? Template : never;
}>;
References: EndpointMap, DocEndpointTemplate, ValueOf, DocEndpoint, PathTemplate