mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #649] [MERGED] Refactor method name MapHeaders and httpStatusCode #1015
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/649
Author: @leolplex
Created: 10/10/2021
Status: ✅ Merged
Merged: 10/10/2021
Merged by: @StefH
Base:
master← Head:master📝 Commits (6)
0b8537bSupport edge case: first object, next an array.edf15bfAdd mapping to header parameters.0296d76Merge branch 'WireMock-Net:master' into master355c3e7Refactor the method MapHeadersParameters to MapHeaders3a1b80fMerge branch 'WireMock-Net:master' into master75b8eeaRefactor method name 'cause is duplicate, only pass httpStatusCode when fail📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
src/WireMock.Net.OpenApiParser/Mappers/OpenApiPathsMapper.cs(+3 -3)📄 Description
Hello,
I refactored the MapHeaders to MapRequestHeaders 'cause there was a duplicate and include negation if on the casting response code in order to use 200 when cast fail.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.