setup rails 5 basic structure

This commit is contained in:
Newell Zhu
2016-05-12 01:12:44 +08:00
parent 1520b90b0d
commit 8847462198
59 changed files with 1294 additions and 0 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;
}
}