mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #662] [CLOSED] Support an Array in the examples. #1019
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/662
Author: @leolplex
Created: 10/21/2021
Status: ❌ Closed
Base:
master← Head:master📝 Commits (10+)
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 failafc5951Merge branch 'WireMock-Net:master' into master83bce01Commit question, how to use 'NotNullOrEmptyMatcher' in Request Headera5c5437Merge branch 'WireMock-Net:master' into masterd9e1dc2Update OpenApiPathsMapper.cs📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
src/WireMock.Net.OpenApiParser/Mappers/OpenApiPathsMapper.cs(+8 -1)📄 Description
Hello @StefH ,
When the openapi file had an example with array wiremock.net shown this message "Error reading JObject from JsonReader. Current JsonReader item is not an object"
I introduce this change in order to support an Array in the examples.
By the way, thankss a looot for deploy to Nuget the last version it was really useful for me.
Below the openapi file with wich I test:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.