mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-26 02:08:29 +02:00
Support basepath from servers (#675)
* Support basepath from servers * Refactor BasePath * Comments applied
This commit is contained in:
@@ -62,7 +62,7 @@ namespace WireMock.Net.OpenApiParser
|
||||
[PublicAPI]
|
||||
public IEnumerable<MappingModel> FromDocument(OpenApiDocument openApiDocument, WireMockOpenApiParserSettings settings = null)
|
||||
{
|
||||
return new OpenApiPathsMapper(settings).ToMappingModels(openApiDocument.Paths);
|
||||
return new OpenApiPathsMapper(settings).ToMappingModels(openApiDocument.Paths, openApiDocument.Servers);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user