Skip to content

Commit

Permalink
Regenerate java-native samples
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Jun 29, 2020
1 parent 9ef8979 commit b266ce0
Show file tree
Hide file tree
Showing 65 changed files with 604 additions and 406 deletions.
53 changes: 53 additions & 0 deletions samples/client/petstore/java/native-async/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
Expand Down Expand Up @@ -123,3 +124,55 @@ src/main/java/org/openapitools/client/model/TypeHolderDefault.java
src/main/java/org/openapitools/client/model/TypeHolderExample.java
src/main/java/org/openapitools/client/model/User.java
src/main/java/org/openapitools/client/model/XmlItem.java
src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java
src/test/java/org/openapitools/client/api/FakeApiTest.java
src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java
src/test/java/org/openapitools/client/api/PetApiTest.java
src/test/java/org/openapitools/client/api/StoreApiTest.java
src/test/java/org/openapitools/client/api/UserApiTest.java
src/test/java/org/openapitools/client/model/AdditionalPropertiesAnyTypeTest.java
src/test/java/org/openapitools/client/model/AdditionalPropertiesArrayTest.java
src/test/java/org/openapitools/client/model/AdditionalPropertiesBooleanTest.java
src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java
src/test/java/org/openapitools/client/model/AdditionalPropertiesIntegerTest.java
src/test/java/org/openapitools/client/model/AdditionalPropertiesNumberTest.java
src/test/java/org/openapitools/client/model/AdditionalPropertiesObjectTest.java
src/test/java/org/openapitools/client/model/AdditionalPropertiesStringTest.java
src/test/java/org/openapitools/client/model/AnimalTest.java
src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java
src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java
src/test/java/org/openapitools/client/model/ArrayTestTest.java
src/test/java/org/openapitools/client/model/BigCatAllOfTest.java
src/test/java/org/openapitools/client/model/BigCatTest.java
src/test/java/org/openapitools/client/model/CapitalizationTest.java
src/test/java/org/openapitools/client/model/CatAllOfTest.java
src/test/java/org/openapitools/client/model/CatTest.java
src/test/java/org/openapitools/client/model/CategoryTest.java
src/test/java/org/openapitools/client/model/ClassModelTest.java
src/test/java/org/openapitools/client/model/ClientTest.java
src/test/java/org/openapitools/client/model/DogAllOfTest.java
src/test/java/org/openapitools/client/model/DogTest.java
src/test/java/org/openapitools/client/model/EnumArraysTest.java
src/test/java/org/openapitools/client/model/EnumClassTest.java
src/test/java/org/openapitools/client/model/EnumTestTest.java
src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java
src/test/java/org/openapitools/client/model/FormatTestTest.java
src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java
src/test/java/org/openapitools/client/model/MapTestTest.java
src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java
src/test/java/org/openapitools/client/model/Model200ResponseTest.java
src/test/java/org/openapitools/client/model/ModelApiResponseTest.java
src/test/java/org/openapitools/client/model/ModelReturnTest.java
src/test/java/org/openapitools/client/model/NameTest.java
src/test/java/org/openapitools/client/model/NumberOnlyTest.java
src/test/java/org/openapitools/client/model/OrderTest.java
src/test/java/org/openapitools/client/model/OuterCompositeTest.java
src/test/java/org/openapitools/client/model/OuterEnumTest.java
src/test/java/org/openapitools/client/model/PetTest.java
src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java
src/test/java/org/openapitools/client/model/SpecialModelNameTest.java
src/test/java/org/openapitools/client/model/TagTest.java
src/test/java/org/openapitools/client/model/TypeHolderDefaultTest.java
src/test/java/org/openapitools/client/model/TypeHolderExampleTest.java
src/test/java/org/openapitools/client/model/UserTest.java
src/test/java/org/openapitools/client/model/XmlItemTest.java
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 b266ce0

Please sign in to comment.