redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

@rtk-query/codegen-openapi documentation is misleading in regard to endpointOverrides -> parameterFilter

Open hadrian625 opened this issue 1 year ago • 1 comments

In the docs for endpointOverrides https://redux-toolkit.js.org/rtk-query/usage/code-generation#endpoint-overrides it is mentioned that a parameterFilter exists which would allow filtering out paramters not desired from the openapi specs. But no such field exists. Is this a mistake in the documentation or the documentation is showing something that is in development right now?

I am using @rtk-query/codegen-openapi 1.2.0 I type definition for EndpointOverrides there is only "pattern" and "type" export interface EndpointOverrides { pattern: EndpointMatcher; type: 'mutation' | 'query'; }

hadrian625 avatar Sep 06 '24 13:09 hadrian625