Skip to content

Commit

Permalink
Update docs/rtk-query/usage/code-generation.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Durrant <ben.j.durrant@gmail.com>
  • Loading branch information
tombohub and EskiMojo14 committed May 7, 2024
1 parent 571463d commit f6e74c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rtk-query/usage/code-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export type EndpointMatcherFunction = (
If you only want to include a few endpoints, you can use the `filterEndpoints` config option to filter your endpoints.
Note that endpoints are transformed to camel case. For example, `login_user` will become `loginUser`.
Camel case version is what you use in `filterEndpoints`.
`filterEndpoints` will be checked against this camel case version of the endpoint.
```ts no-transpile title="openapi-config.ts"
const filteredConfig: ConfigFile = {
Expand Down

0 comments on commit f6e74c6

Please sign in to comment.