Skip to content

Is there a way to set API baseUrl and other options when using @kubb/swagger-tanstack-query ? #1187

Answered by stijnvanhulle
obrassard asked this question in Q&A
Discussion options

You must be logged in to vote

You can use a custom client like described here: https://v3.kubb.dev/knowledge-base/how-tos/fetch. There you could set a base URL or you could also set serverIndex: https://v3.kubb.dev/documentation/plugins/plugin-oas/#serverindex.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@obrassard
Comment options

Answer selected by obrassard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants