Description
I'm using the following custom configuration:
module.exports = {
hooks: {
onInsertPathParam: (paramName) => `encodeURIComponent(${paramName})`,
},
};
This encodes all parameters using encodeURIComponent
in the URL path. This works great with v13.0.9, but it doesn't work with v13.0.10 anymore.
This is generated with v13.0.9:
deleteBucket: (name: string, params: RequestParams = {}) =>
this.request<void, ApiError>({
path: `/buckets/${encodeURIComponent(name)}`,
method: "DELETE",
secure: true,
...params,
}),
This is generated with v13.0.10:
deleteBucket: (name: string, params: RequestParams = {}) =>
this.request<void, ApiError>({
path: `/buckets/${name}`,
method: "DELETE",
secure: true,
...params,
}),