mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #409] [MERGED] Admin Delete with mappings in body #899
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/409
Author: @NoahLerner
Created: 1/30/2020
Status: ✅ Merged
Merged: 1/31/2020
Merged by: @StefH
Base:
master← Head:master📝 Commits (8)
c9f55e9Support sending mappings in body of Delete request which will remove the specified mappings by Guidfd72b19Return IEnumerable instead of boolfd3eaf5Checking settings AllowBodyForAllHttpMethods not necessary3231104Remove unnecessary string interpolation1fe6b8ause string instead of Stringdff7a39Use var instead of typed variable9fcbedcRemove unnecessary nullable checkd1b048bRemove comment📊 Changes
1 file changed (+55 additions, -3 deletions)
View changed files
📝
src/WireMock.Net/Server/WireMockServer.Admin.cs(+55 -3)📄 Description
Using HTTP
Deleteverb, a user can send multiple mapping jsons (with GUIDs) for deletion.Note:
AllowBodyForAllHttpMethodsmust be set to true.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.