swagger-client 3.30.1 → 3.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -180,7 +180,8 @@ function buildRequest(options) {
180
180
  } = options;
181
181
  let {
182
182
  parameters,
183
- parameterBuilders
183
+ parameterBuilders,
184
+ baseURL
184
185
  } = options;
185
186
  const specIsOAS3 = (0,_helpers_openapi_predicates_js__WEBPACK_IMPORTED_MODULE_12__.isOpenAPI3)(spec);
186
187
  if (!parameterBuilders) {
@@ -223,7 +224,7 @@ function buildRequest(options) {
223
224
  method,
224
225
  pathName
225
226
  } = operationRaw;
226
- const baseURL = baseUrl({
227
+ baseURL = baseURL ?? baseUrl({
227
228
  spec,
228
229
  scheme,
229
230
  contextUrl,