forked from loafle/openapi-generator-original
[java] improve petstore tests with openapi v3 spec (#16447)
* regenerate tests in jersey2-java8 client * update samples * fix java google api client tests * update java resteasy to use v3 spec for tests * update java vertx to test with v3 spec * update java resttemplate to test with v3 spec * add new files * regenerate jersey1 tests
This commit is contained in:
@@ -13,10 +13,14 @@
|
||||
|
||||
package org.openapitools.client.api;
|
||||
|
||||
import org.openapitools.client.ApiException;
|
||||
import org.openapitools.client.*;
|
||||
import org.openapitools.client.auth.*;
|
||||
import org.openapitools.client.model.Client;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -26,25 +30,23 @@ import java.util.Map;
|
||||
/**
|
||||
* API tests for AnotherFakeApi
|
||||
*/
|
||||
@Disabled
|
||||
public class AnotherFakeApiTest {
|
||||
|
||||
private final AnotherFakeApi api = new AnotherFakeApi();
|
||||
|
||||
|
||||
/**
|
||||
* To test special tags
|
||||
*
|
||||
* To test special tags and operation ID starting with number
|
||||
*
|
||||
* @throws ApiException
|
||||
* if the Api call fails
|
||||
* @throws ApiException if the Api call fails
|
||||
*/
|
||||
@Test
|
||||
public void call123testSpecialTagsTest() throws ApiException {
|
||||
Client body = null;
|
||||
Client response = api.call123testSpecialTags(body);
|
||||
//UUID uuidTest = null;
|
||||
//Client body = null;
|
||||
//Client response = api.call123testSpecialTags(uuidTest, body);
|
||||
// TODO: test validations
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user