internal.DocRequestHandler
Home > @backstage/backend-openapi-utils
> internal
> DocRequestHandler
Typed express request handler.
Signature:
export type DocRequestHandler<Doc extends RequiredDoc, Path extends DocPath<Doc>, Method extends DocPathMethod<Doc, Path>> = core.RequestHandler<PathSchema<Doc, Path, Method>, ResponseBodyToJsonSchema<Doc, Path, Method>, RequestBodyToJsonSchema<Doc, Path, Method>, QuerySchema<Doc, Path, Method>, Record<string, string>>;
References: RequiredDoc, DocPath, DocPathMethod, PathSchema, ResponseBodyToJsonSchema, RequestBodyToJsonSchema, QuerySchema