Skip to content

OpenAPI 3.1.0 support: changing server url #2967

@transfluxus

Description

@transfluxus

Q&A (please complete the following information)

  • OS: Ubuntu
  • Environment: firefox 113.0.1, node 18
  • Method of installation: npm
  • Swagger-Client version: 3.19.7
  • Swagger/OpenAPI version: OpenAPI 3.0

How can we help?

I have noticed a difference in behaviour between version 3.16 and 3.19, and I am trying to replicate the result in 3.19.
Basically I want to change the server url dynamically.
Before I would just go into the swaggerClient.spec.servers and change the array, but now this does not seem to have any effect on the following requests. How can I achieve changing the server url in the latest version?
thanks!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions