mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 11:52:44 +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:
@@ -131,6 +131,12 @@
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
<version>${swagger-core-version}</version>
|
||||
</dependency>
|
||||
<!-- @Nullable annotation -->
|
||||
<dependency>
|
||||
<groupId>com.google.code.findbugs</groupId>
|
||||
<artifactId>jsr305</artifactId>
|
||||
<version>3.0.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user