Closed kahirokunn closed 3 years ago
Hmm, i tried to link the docs, but they broke... This should be documented here: https://rtk-query-docs.netlify.app/concepts/code-generation#openapi. You're looking for 'addEntityTypes' of enhanceEndpoints
if it doesn't link properly.
It worked! Thank you!
In the api instance generated by rtk-query-codegen, entityTypes is empty by default.
If you want to add or modify endpoints dynamically by using libraries, you may want to add entityTypes.
What should I do in this case?