Skip to content

BaseURL of zodios client #630

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

You must be logged in to vote

The idea is to use servers[index].url specified in your Swagger/OpenAPI file(see example).

With the swagger plugin you can choose which index to use: https://www.kubb.dev/plugins/swagger#serverindex and then the Zodios plugin will use that as your baseURL. For now this was not yet implemented for Zodios but I opened a PR to add this(#631)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stijnvanhulle
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