You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many situations, where you need to have all fields with default values being contained to json
So there is a flag, which allow you to do it. Its easy to do it for example in docker-compose:
References
TODO
Submitter checklist
Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
The PR request is well described and justified, including the body and the references
The PR title represents the desired changelog entry
The repository's code style is followed (see the contributing guide)
Test coverage that demonstrates that the change works as expected
For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org
Hi, many thanks for your contribution. Overall the addition of includingDefaultValueFields seems like a good addition. However, we tend not to use env variables in this way to accomplish this. We need to make sure that we are catering for people who are using the extension standalone, programatically using something like JUnit or in docker etc. In Wiremock core we have the Options interface for this and we were wondering if something like this would be worth exploring here? The extension interface could be extended to allow options to be passed in and default options to be loaded (env vars for standalone for example). Is this something you would like to explore implementing ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are many situations, where you need to have all fields with default values being contained to json
So there is a flag, which allow you to do it. Its easy to do it for example in docker-compose:
References
Submitter checklist
#help-contributingor a project-specific channel like#wiremock-java