Skip to main content

internal.EndpointMapRequestHandler

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

Typed express request handler.

Signature:

export type EndpointMapRequestHandler<Doc extends EndpointMap, Path extends DocEndpoint<Doc>, Method extends DocEndpointMethod<Doc, Path>> = core.RequestHandler<StaticPathParamsSchema<Doc, Path, Method>, StaticResponseSchema<Doc, Path, Method>, StaticRequestBodySchema<Doc, Path, Method>, StaticQueryParamsSchema<Doc, Path, Method>, Record<string, string>>;

References: EndpointMap, DocEndpoint, DocEndpointMethod, StaticPathParamsSchema, StaticResponseSchema, StaticRequestBodySchema, StaticQueryParamsSchema