Removed tabs in DefaultCodegen

This commit is contained in:
Tino Fuhrmann 2018-12-06 23:55:31 +01:00
parent 5174e7539b
commit 9a9e62cfa5

View File

@ -2677,7 +2677,7 @@ public class DefaultCodegen implements CodegenConfig {
r.code = "0";
} else {
r.code = responseCode;
r.isSuccessCode = r.code.startsWith("2");
r.isSuccessCode = r.code.startsWith("2");
}
Schema responseSchema;
if (this.openAPI != null && this.openAPI.getComponents() != null) {
@ -3156,7 +3156,7 @@ public class DefaultCodegen implements CodegenConfig {
return false;
}
}
// TODO revise below as it should be replaced by ModelUtils.isFileSchema(parameterSchema)
public boolean isDataTypeFile(String dataType) {
if (dataType != null) {