mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-14 15:43:33 +01:00
[PR #664] [MERGED] Support Array in OpenApiParser #1020
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/664
Author: @leolplex
Created: 10/21/2021
Status: ✅ Merged
Merged: 10/21/2021
Merged by: @StefH
Base:
master← Head:openAPIExamplesSupportArray📝 Commits (1)
8534d9dSupport Array in OpenApi Examples📊 Changes
2 files changed (+104 additions, -1 deletions)
View changed files
➕
examples/WireMock.Net.OpenApiParser.ConsoleApp/OpenApiFiles/openAPIExamples.yaml(+96 -0)📝
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.
I applied your suggestions.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.