mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 12:32:42 +00:00
[Java][okhttp] Test setVerifyingSsl (#4252)
* test setVerifyingSsl * update test file under petstore
This commit is contained in:
@@ -61,6 +61,7 @@ public class PetApiTest {
|
|||||||
ApiClient oldClient = api.getApiClient();
|
ApiClient oldClient = api.getApiClient();
|
||||||
|
|
||||||
ApiClient newClient = new ApiClient();
|
ApiClient newClient = new ApiClient();
|
||||||
|
newClient.setVerifyingSsl(true);
|
||||||
newClient.setBasePath("http://example.com");
|
newClient.setBasePath("http://example.com");
|
||||||
newClient.setDebugging(true);
|
newClient.setDebugging(true);
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ public class PetApiTest {
|
|||||||
ApiClient oldClient = api.getApiClient();
|
ApiClient oldClient = api.getApiClient();
|
||||||
|
|
||||||
ApiClient newClient = new ApiClient();
|
ApiClient newClient = new ApiClient();
|
||||||
|
newClient.setVerifyingSsl(true);
|
||||||
newClient.setBasePath("http://example.com");
|
newClient.setBasePath("http://example.com");
|
||||||
newClient.setDebugging(true);
|
newClient.setDebugging(true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user