mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #680] [MERGED] Support examples in properties #1031
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/680
Author: @leolplex
Created: 11/5/2021
Status: ✅ Merged
Merged: 11/8/2021
Merged by: @StefH
Base:
master← Head:SupportExamplesInProperties📝 Commits (3)
5ab16c2When the schema properti has an example then it uses the example5e59b9cMerge branch 'master' into SupportExamplesInProperties3f3689cComments applied📊 Changes
1 file changed (+28 additions, -9 deletions)
View changed files
📝
src/WireMock.Net.OpenApiParser/Utils/ExampleValueGenerator.cs(+28 -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.