|
4 | 4 | import static io.swagger.codegen.languages.helpers.ExtensionHelper.getBooleanValue; |
5 | 5 | import static java.util.Collections.sort; |
6 | 6 |
|
7 | | -import com.fasterxml.jackson.databind.JsonNode; |
8 | 7 | import io.swagger.codegen.CliOption; |
9 | | -import io.swagger.codegen.CodegenArgument; |
10 | 8 | import io.swagger.codegen.CodegenConstants; |
11 | 9 | import io.swagger.codegen.CodegenModel; |
12 | 10 | import io.swagger.codegen.CodegenOperation; |
|
18 | 16 | import io.swagger.codegen.languages.features.GzipFeatures; |
19 | 17 | import io.swagger.codegen.languages.features.PerformBeanValidationFeatures; |
20 | 18 |
|
21 | | -import io.swagger.v3.core.util.Yaml; |
22 | | -import org.apache.commons.io.IOUtils; |
23 | 19 | import org.apache.commons.lang3.BooleanUtils; |
24 | 20 | import org.apache.commons.lang3.StringUtils; |
25 | 21 | import org.slf4j.Logger; |
26 | 22 | import org.slf4j.LoggerFactory; |
27 | 23 |
|
28 | 24 | import java.io.File; |
29 | | -import java.io.IOException; |
30 | | -import java.io.InputStream; |
31 | | -import java.util.*; |
| 25 | +import java.util.ArrayList; |
| 26 | +import java.util.Comparator; |
| 27 | +import java.util.HashMap; |
| 28 | +import java.util.Iterator; |
| 29 | +import java.util.LinkedHashMap; |
| 30 | +import java.util.LinkedList; |
| 31 | +import java.util.List; |
| 32 | +import java.util.Map; |
32 | 33 | import java.util.regex.Pattern; |
33 | 34 |
|
34 | 35 | public class JavaClientCodegen extends AbstractJavaCodegen implements BeanValidationFeatures, PerformBeanValidationFeatures, GzipFeatures { |
35 | 36 | static final String MEDIA_TYPE = "mediaType"; |
36 | 37 |
|
37 | | - @SuppressWarnings("hiding") |
38 | 38 | private static final Logger LOGGER = LoggerFactory.getLogger(JavaClientCodegen.class); |
39 | 39 |
|
40 | 40 | public static final String USE_RX_JAVA = "useRxJava"; |
|
0 commit comments