fix inconsistent java naming (#6624)

This commit is contained in:
wing328
2017-10-06 11:03:15 +08:00
committed by GitHub
parent 86803c0c24
commit 2f98ade693
29 changed files with 1877 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
package io.swagger.client.api;
import io.swagger.client.ApiClient;
import io.swagger.client.EncodingUtils;
import io.swagger.client.model.Client;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import feign.*;
public interface AnotherFakeApi extends ApiClient.Api {
/**
* To test special tags
* To test special tags
* @param body client model (required)
* @return Client
*/
@RequestLine("PATCH /another-fake/dummy")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
Client testSpecialTags(Client body);
}

View File

@@ -0,0 +1,40 @@
package io.swagger.client.api;
import io.swagger.client.ApiClient;
import io.swagger.client.model.Client;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* API tests for AnotherFakeApi
*/
public class AnotherFakeApiTest {
private AnotherFakeApi api;
@Before
public void setup() {
api = new ApiClient().buildClient(AnotherFakeApi.class);
}
/**
* To test special tags
*
* To test special tags
*/
@Test
public void testSpecialTagsTest() {
Client body = null;
// Client response = api.testSpecialTags(body);
// TODO: test validations
}
}