Skip to content

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

Open
@hadrian625

Description

@hadrian625

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';
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions