@@ -53,8 +53,6 @@ public class JavaClientCodegen extends AbstractJavaCodegen implements BeanValida
53
53
public static final String RETROFIT_1 = "retrofit" ;
54
54
public static final String RETROFIT_2 = "retrofit2" ;
55
55
56
- public static final String WIREMOCK_OPTION = "wiremock" ;
57
-
58
56
protected String gradleWrapperPackage = "gradle.wrapper" ;
59
57
protected boolean useRxJava = false ;
60
58
protected boolean useRxJava2 = false ;
@@ -89,8 +87,6 @@ public JavaClientCodegen() {
89
87
cliOptions .add (CliOption .newBoolean (USE_GZIP_FEATURE , "Send gzip-encoded requests" ));
90
88
cliOptions .add (CliOption .newBoolean (USE_RUNTIME_EXCEPTION , "Use RuntimeException instead of Exception" ));
91
89
92
- cliOptions .add (CliOption .newBoolean (WIREMOCK_OPTION , "Use wiremock to generate endpoint calls to mock on generated tests." ));
93
-
94
90
supportedLibraries .put ("jersey1" , "HTTP client: Jersey client 1.19.4. JSON processing: Jackson 2.10.1. Enable gzip request encoding using '-DuseGzipFeature=true'." );
95
91
supportedLibraries .put ("feign" , "HTTP client: OpenFeign 9.4.0. JSON processing: Jackson 2.10.1" );
96
92
supportedLibraries .put ("jersey2" , "HTTP client: Jersey client 2.26. JSON processing: Jackson 2.10.1" );
@@ -177,11 +173,6 @@ public void processOpts() {
177
173
this .setUseRuntimeException (convertPropertyToBooleanAndWriteBack (USE_RUNTIME_EXCEPTION ));
178
174
}
179
175
180
- if (additionalProperties .containsKey (WIREMOCK_OPTION )) {
181
- final boolean useWireMock = additionalProperties .get (WIREMOCK_OPTION ) != null && Boolean .parseBoolean (additionalProperties .get (WIREMOCK_OPTION ).toString ());
182
- additionalProperties .put (WIREMOCK_OPTION , useWireMock );
183
- }
184
-
185
176
final String invokerFolder = (sourceFolder + File .separator + invokerPackage ).replace ("." , File .separator );
186
177
final String authFolder = (sourceFolder + File .separator + invokerPackage + ".auth" ).replace ("." , File .separator );
187
178
final String apiFolder = (sourceFolder + File .separator + apiPackage ).replace ("." , File .separator );
0 commit comments