We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now there is no option to generate a collection with static values, they always have to be random
@PactDslBodyBuilder public class Student { @Example("idSample") private List<String> id; }
Output
{ "id" : [ "fVuayin3uOzdV" ] }
As a developer, I need to have the option to define those values.
One alternative may be to accept as example collections in string format, like these:
@Example("[\"one\", \"two\", \"three\"]") private List<String> stringList; @Example("[1, 2, 3]") private Set<Integer> integerSet; @Example("{\"key1\": 1, \"key2\": 2, \"key3\": 3}") private Map<String, Integer> stringToIntegerMap;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now there is no option to generate a collection with static values, they always have to be random
Output
As a developer, I need to have the option to define those values.
One alternative may be to accept as example collections in string format, like these:
The text was updated successfully, but these errors were encountered: