mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #244] [MERGED] Fix BodyAsFile to also allow relative paths #821
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/244
Author: @StefH
Created: 12/17/2018
Status: ✅ Merged
Merged: 1/19/2019
Merged by: @StefH
Base:
master← Head:read_static_mappingfile📝 Commits (7)
b837e20Read only .json files as static mapping files and fix current folder for BodyAsFilef6e9023include .json againee22ddbLocalFileSystemHandler_ReadResponseBodyAsFile_Throwsf836a26Read array from static mappings folderaa42c00xml soap example7b877b3Merge branch 'master' into read_static_mappingfile4333085Merge from master📊 Changes
24 files changed (+284 additions, -59 deletions)
View changed files
📝
Directory.Build.props(+1 -1)📝
examples/WireMock.Net.Console.NETCoreApp2/WireMock.Net.Console.NETCoreApp2.csproj(+7 -0)➕
examples/WireMock.Net.Console.NETCoreApp2/__admin/mappings/BodyAsFileExample.json(+22 -0)➕
examples/WireMock.Net.Console.NETCoreApp2/__admin/mappings/MyXmlResponse.xml(+3 -0)➕
examples/WireMock.Net.Console.NETCoreApp2/__admin/mappings/array.json(+46 -0)📝
examples/WireMock.Net.Console.Net452.Classic/CustomFileSystemFileHandler.cs(+6 -0)📝
examples/WireMock.Net.Console.Net452.Classic/MainApp.cs(+14 -3)📝
src/WireMock.Net/Handlers/IFileSystemHandler.cs(+9 -1)📝
src/WireMock.Net/Handlers/LocalFileSystemHandler.cs(+12 -2)📝
src/WireMock.Net/Owin/AspNetCoreSelfHost.cs(+3 -1)📝
src/WireMock.Net/Owin/IWireMockMiddlewareOptions.cs(+3 -0)📝
src/WireMock.Net/Owin/Mappers/OwinResponseMapper.cs(+15 -2)📝
src/WireMock.Net/Owin/OwinSelfHost.cs(+2 -1)📝
src/WireMock.Net/Owin/WireMockMiddlewareOptions.cs(+4 -0)📝
src/WireMock.Net/ResponseBuilders/Response.cs(+7 -6)📝
src/WireMock.Net/Server/FluentMockServer.Admin.cs(+24 -16)📝
src/WireMock.Net/Server/FluentMockServer.cs(+1 -0)📝
test/WireMock.Net.Tests/FluentMockServerTests.Admin.cs(+22 -10)📝
test/WireMock.Net.Tests/Handlers/LocalFileSystemHandlerTests.cs(+7 -0)📝
test/WireMock.Net.Tests/Owin/Mappers/OwinResponseMapperTests.cs(+19 -14)...and 4 more files
📄 Description
https://github.com/WireMock-Net/WireMock.Net/issues/243
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.