Skip to content

Commit

Permalink
[Java][client][native][Gradle] Add missing jackson-databind-nullable (#…
Browse files Browse the repository at this point in the history
…6802)

* Add missing jackson-databind-nullable to java-native Gradle build

Closes #6801

* Regenerate java-native samples

* update samples

Co-authored-by: William Cheng <wing328hk@gmail.com>
  • Loading branch information
joschi and wing328 authored Jul 1, 2020
1 parent 323cd38 commit d9957ad
Show file tree
Hide file tree
Showing 64 changed files with 499 additions and 406 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
compile "org.openapitools:jackson-databind-nullable:0.2.1"
compile 'javax.annotation:javax.annotation-api:1.3.2'
testCompile "junit:junit:$junit_version"
}
1 change: 1 addition & 0 deletions samples/client/petstore/java/native-async/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ dependencies {
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
compile "org.openapitools:jackson-databind-nullable:0.2.1"
compile 'javax.annotation:javax.annotation-api:1.3.2'
testCompile "junit:junit:$junit_version"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,23 @@
import org.openapitools.client.model.Client;
import org.junit.Test;
import org.junit.Ignore;
import org.junit.Assert;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import java.util.concurrent.CompletableFuture;

/**
* API tests for AnotherFakeApi
*/
@Ignore
public class AnotherFakeApiTest {

private final AnotherFakeApi api = new AnotherFakeApi();


/**
* To test special tags
*
Expand All @@ -41,11 +44,11 @@ public class AnotherFakeApiTest {
*/
@Test
public void call123testSpecialTagsTest() throws ApiException {
//
//Client body = null;
//
//Client response = api.call123testSpecialTags(body);

Client body = null;
CompletableFuture<Client> response =
api.call123testSpecialTags(body);

// TODO: test validations
}

}
Loading

0 comments on commit d9957ad

Please sign in to comment.