forked from loafle/openapi-generator-original
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into feature/integration-test
This commit is contained in:
@@ -18,7 +18,7 @@ public class AndroidClientOptionsProvider implements OptionsProvider {
|
||||
public static final String ARTIFACT_VERSION_VALUE = "1.0.0-SNAPSHOT";
|
||||
public static final String SOURCE_FOLDER_VALUE = "src/main/java/test";
|
||||
public static final String ANDROID_MAVEN_GRADLE_PLUGIN_VALUE = "true";
|
||||
public static final String LIBRARY_VALUE = "volley";
|
||||
public static final String LIBRARY_VALUE = "httpclient";
|
||||
|
||||
@Override
|
||||
public String getLanguage() {
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package io.swagger.codegen.options;
|
||||
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class Rails5ServerOptionsProvider implements OptionsProvider {
|
||||
@Override
|
||||
public String getLanguage() {
|
||||
return "Rails5";
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, String> createOptions() {
|
||||
//Rails5ServerCodegen doesn't have its own options and base options are cleared
|
||||
return ImmutableMap.of();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isServer() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user