Skip to main content
Version: Next

internal.DocRequestMatcher

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

Superset of the express router path matcher that enforces typed request and response bodies.

Signature:

export interface DocRequestMatcher<Doc extends RequiredDoc, T, Method extends 'all' | 'get' | 'post' | 'put' | 'delete' | 'patch' | 'options' | 'head'>