[Java] add nullable annotation to pojo template for non-required fields (#3409)

* add nullable annotation to pojo template

* add jsr305 dependency

* jsr305 dependency on all java build.gradle files

* jsr305 dependency on all java pom.xml files

* update samples

* more pom updates

* more sample/template updates
This commit is contained in:
kassim
2019-07-25 04:35:18 +02:00
committed by William Cheng
parent a0dd7394ac
commit ee538be964
994 changed files with 3525 additions and 0 deletions

View File

@@ -46,6 +46,12 @@
<artifactId>swagger-annotations</artifactId>
<version>1.5.14</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>