[PR #649] [MERGED] Refactor method name MapHeaders and httpStatusCode #1015

Closed
opened 2025-12-29 08:34:21 +01:00 by adam · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (6)

  • 0b8537b Support edge case: first object, next an array.
  • edf15bf Add mapping to header parameters.
  • 0296d76 Merge branch 'WireMock-Net:master' into master
  • 355c3e7 Refactor the method MapHeadersParameters to MapHeaders
  • 3a1b80f Merge branch 'WireMock-Net:master' into master
  • 75b8eea Refactor 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.

## 📋 Pull Request Information **Original PR:** https://github.com/wiremock/WireMock.Net/pull/649 **Author:** [@leolplex](https://github.com/leolplex) **Created:** 10/10/2021 **Status:** ✅ Merged **Merged:** 10/10/2021 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`0b8537b`](https://github.com/wiremock/WireMock.Net/commit/0b8537b5ebd40c472ae3772a10e071702018da63) Support edge case: first object, next an array. - [`edf15bf`](https://github.com/wiremock/WireMock.Net/commit/edf15bf7796acc5a9c4d4142825eca9121278c97) Add mapping to header parameters. - [`0296d76`](https://github.com/wiremock/WireMock.Net/commit/0296d768307e164626dc522ade64ac65a7d371a4) Merge branch 'WireMock-Net:master' into master - [`355c3e7`](https://github.com/wiremock/WireMock.Net/commit/355c3e71fcbe44428a35bee9658f5bb8ae46a030) Refactor the method MapHeadersParameters to MapHeaders - [`3a1b80f`](https://github.com/wiremock/WireMock.Net/commit/3a1b80f6c2ce502041e6bb90761ae2d7ad8665a5) Merge branch 'WireMock-Net:master' into master - [`75b8eea`](https://github.com/wiremock/WireMock.Net/commit/75b8eea96796c0291c566df7a51817a2d31579c9) Refactor method name 'cause is duplicate, only pass httpStatusCode when fail ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net.OpenApiParser/Mappers/OpenApiPathsMapper.cs` (+3 -3) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:34:21 +01:00
adam closed this issue 2025-12-29 08:34:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#1015