Skip to main content
Version: Next

internal.EndpointMapRequestHandlerParams

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

Typed express error handler / request handler union type.

Signature:

export type EndpointMapRequestHandlerParams<Doc extends EndpointMap, Path extends DocEndpoint<Doc>, Method extends DocEndpointMethod<Doc, Path>> = core.RequestHandlerParams<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