Files
spring-cloud-contract/specs/spring-cloud-contract-spec-java
Sylvain Guillope e852141ce4 Select value of an anyOf() property at random (#1599)
The current implementation of `anyOf()` always only selects the first value
when generating a property. It means that other possible enum values are always
ignored when producing a value for the property.

This changes the behaviour so that the value is picked at random from any of
the provided values. It could be considered a breaking changes because of the
change of behaviour although it shouldn't be from the contract perspective.

Fixes #1424

Co-authored-by: Sylvain Guillope <sguillope@atlassian.com>
2021-02-01 13:43:20 +01:00
..
2019-07-08 14:15:21 +02:00

=== Spring Cloud Contract Specification Java

This module contains the Contract specification written in Java.