Replies: 1 comment
-
Not really; if you are fetching from arbitrary endpoints, you are by definition not using an OpenAPI schema so you don’t need to use openapi-fetch. But as a one-off workaround, you could always use middleware to change the URL of specific requests to whatever you want. But this behavior is intentionally hard to do because the library is designed to not let people do this easily (which lead to bugs) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to use OpenAPI fetch without defining the path, similar to using the standard fetch function?
The reason I don't just use fetch is that I have some middleware defined that I would still like to utilize.
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions