react-query-swagger
react-query-swagger copied to clipboard
Generates react-query hooks based on Swagger API definitions
Hello, Could you share an example of how you actually pass headers to requests? For example, I need to pass an authorization header to all my API calls which is...
Resolve #49
If path returns both 200 and 204 responses, the generated code throws error on 204 if schema is expected on 200. ### Repro steps swagger.json: ``` { "openapi": "3.0.1", "info":...
When an enum is referenced directly as the response schema, react-query-swagger generates a factory function that incorrectly references a non-existent initializer. swagger.json ``` { "openapi": "3.0.1", "info": { "title": "API...