Extend path parameter support #661
Labels
feature
New feature or request
@zimic/fetch
@zimic/fetch
@zimic/http
Related to @zimic/http
@zimic/interceptor
Related to @zimic/interceptor
Scope
@zimic/http
Prerequisites
Type
Adds a new behavior
Compatibility
Context
Currently in
@zimic/http
, path parameters are fully inferred from the pathname. As an additional feature, we could support custom path parameter declarations, similarly tosearchParams
.Notes
pathParams
should only override the default params.Feature description
pathParams
in request schema declarationspathParams
in HTTP request handlerspathParams
in fetch clientsThe text was updated successfully, but these errors were encountered: