Replies: 1 comment 3 replies
-
responses:
200:
# …
default:
# … But I can’t say for sure, but it sounds like your endpoint is throwing errors while returning “OK” status codes, which |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I couldn't figure out what to do from reading the docs so here I am.
First off, I love using this tool. I'm using it with TanStack Query and it's going very well so far.
However, sometimes, due to unknown circumstances, occasionally I get a response that doesn't adhere to my OpenAPI spec, and a client.GET call will throw.
Is there something I can configure to have a default response? I noticed
default
response mentioned in the docs but couldn't figure out where to set that up.Beta Was this translation helpful? Give feedback.
All reactions