Merge pull request #2871 from zlx/feature/rails5

Feature/rails5
This commit is contained in:
wing328
2016-05-16 11:54:38 +08:00
123 changed files with 2542 additions and 1 deletions

View File

@@ -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;
}
}