pact-annotation-processor icon indicating copy to clipboard operation
pact-annotation-processor copied to clipboard

Pact DSL Builder annotation processor to create request bodies based on annotations. It allows to specify static values for properties also through Example annotation

Results 9 pact-annotation-processor issues
Sort by recently updated
recently updated
newest added

Tests arrays completed: String[] boolean[], Boolean[] byte[], Byte[] short[], Short[] int[], Integer[] char[], Character[] long[], Long[] float[], Float[] double[], Double[] BigInteger[] BigDecimal[] ZonedDateTime[] Date[]

Giving the code ```java @PactDslBodyBuilder public class DemoClass { private List listString1; @Example("123") private List listString2; private List listLong1; @Example("123") private List listLong2; private List listInteger1; @Example("123") private List listInteger2;...

bug

When using array data types like: ```java private char[] charArrays; ``` we get the following exception: ``` java: java.lang.NullPointerException: Cannot invoke "Object.toString()" because "o" is null ``` It happens with...

bug

Right now there is no option to generate a collection with static values, they always have to be random ```java @PactDslBodyBuilder public class Student { @Example("idSample") private List id; }...

enhancement

Using the following code ```java @PactDslBodyBuilder public class DemoClass { private Set aSetString1; private Set aSetInteger1; private Set aSetFloat1; private Set aSetClass1; } ``` It gives an error ``` java:...

bug

Giving the following code ```java @PactDslBodyBuilder public class DemoClass { private Map aMap1; } ``` It generates ``` public class DemoClassBuilder { java.util.Map aMap1 = List.of("O99o0v"); ; public DemoClassBuilder setAMap1(final...

bug

As a developer, I would like to see the integration of Pact Builder DSL functionality in the [SCS MultiApi Plugin](https://github.com/sngular/scs-multiapi-plugin). This issue can serve as a tracking mechanism for the...

enhancement

As a developer, I want to fully customize how a data type is processed. For this to be available, we could extend builder object methods to overwrite the DSL definition...

enhancement

At this moment, the `@Max` and `@Min` annotations can be used for: - Define the value range for a randomly generated numeric data type. - Delimite the number of elements...

enhancement