mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 16:56:09 +00:00
[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user