redux-toolkit
redux-toolkit copied to clipboard
@rtk-query/codegen-openapi documentation is misleading in regard to endpointOverrides -> parameterFilter
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'; }