[PR #644] [MERGED] Mapping headers in OpenAPI #1013

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/644
Author: @leolplex
Created: 10/6/2021
Status: Merged
Merged: 10/7/2021
Merged by: @StefH

Base: masterHead: master


📝 Commits (4)

  • 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

📊 Changes

1 file changed (+24 additions, -1 deletions)

View changed files

📝 src/WireMock.Net.OpenApiParser/Mappers/OpenApiPathsMapper.cs (+24 -1)

📄 Description

Hi Stef,

In this opportunity I want to add the ability to allow the headers mappings. I just use the same coded logic but add Headers.

I hope doin an additional future change (support request body mapping). When I finish it, could you upload the new version to nuget, please?

Daniel.


🔄 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/644 **Author:** [@leolplex](https://github.com/leolplex) **Created:** 10/6/2021 **Status:** ✅ Merged **Merged:** 10/7/2021 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`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 ### 📊 Changes **1 file changed** (+24 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net.OpenApiParser/Mappers/OpenApiPathsMapper.cs` (+24 -1) </details> ### 📄 Description Hi Stef, In this opportunity I want to add the ability to allow the headers mappings. I just use the same coded logic but add Headers. I hope doin an additional future change (support request body mapping). When I finish it, could you upload the new version to nuget, please? Daniel. --- <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#1013