[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:
William Cheng
2023-08-30 12:33:01 +08:00
committed by GitHub
parent 611a60411b
commit 8386a6eaaf
615 changed files with 22444 additions and 10026 deletions

View File

@@ -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
}
}