-
-
Notifications
You must be signed in to change notification settings - Fork 613
Closed
Labels
PRs welcomePRs are welcome to solve this issue!PRs are welcome to solve this issue!enhancementNew feature or requestNew feature or requestgood first issueStraightforward problem, solvable for first-time contributors without deep knowledge of the projectStraightforward problem, solvable for first-time contributors without deep knowledge of the projectopenapi-fetchRelevant to the openapi-fetch libraryRelevant to the openapi-fetch library
Description
Description
My app has an API that is per tenant, so I end up having to create a client every time I need to call the API, since the baseUrl varies.
Proposal
Ideally it would be as simple as:
client.GET("/api/region", {
baseUrl: "https://api.example.com",
})Checklist
- I’m willing to open a PR for this (see CONTRIBUTING.md)
Gruak
Metadata
Metadata
Assignees
Labels
PRs welcomePRs are welcome to solve this issue!PRs are welcome to solve this issue!enhancementNew feature or requestNew feature or requestgood first issueStraightforward problem, solvable for first-time contributors without deep knowledge of the projectStraightforward problem, solvable for first-time contributors without deep knowledge of the projectopenapi-fetchRelevant to the openapi-fetch libraryRelevant to the openapi-fetch library