mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #679] [CLOSED] Support examples in properties #1030
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/679
Author: @leolplex
Created: 11/5/2021
Status: ❌ Closed
Base:
master← Head:SupportExamplesInProperties📝 Commits (2)
9ee7492Support RequestBody2460dd5When the schema properti has an example then it uses the example📊 Changes
2 files changed (+59 additions, -10 deletions)
View changed files
📝
src/WireMock.Net.OpenApiParser/Mappers/OpenApiPathsMapper.cs(+32 -1)📝
src/WireMock.Net.OpenApiParser/Utils/ExampleValueGenerator.cs(+27 -9)📄 Description
Hello @StefH,
This PR contains the capability to support examples when it is defined in the properties:
The response looks like this:
It could be find in the examples that I uploaded before.
Thank you.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.