swagger-api / swagger-js

Javascript library to connect to swagger-enabled APIs via browser or nodejs
http://swagger.io
Apache License 2.0
2.6k stars 754 forks source link

feat: Adding support to pass down resolved baseURL, to avoid repeated computation . Issue: #3537 #3538

Open sauravazad opened 1 month ago

sauravazad commented 1 month ago

https://github.com/swagger-api/swagger-js/issues/3537

Description

Add support for baseURL in options for performance gains .

Motivation and Context

Issue: #3537

How Has This Been Tested?

Added supporting test case for the scenario.

Screenshots (if appropriate):

Types of changes

Checklist: