mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
Merge pull request #3027 from pablograna/fix-eclipse-errors
Use UnsupportedOperationException.
This commit is contained in:
commit
ac4c460338
@ -7,10 +7,8 @@ import io.swagger.models.properties.*;
|
|||||||
import io.swagger.models.Model;
|
import io.swagger.models.Model;
|
||||||
import io.swagger.models.Operation;
|
import io.swagger.models.Operation;
|
||||||
import io.swagger.models.Swagger;
|
import io.swagger.models.Swagger;
|
||||||
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
|
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.io.File;
|
|
||||||
|
|
||||||
public class HaskellServantCodegen extends DefaultCodegen implements CodegenConfig {
|
public class HaskellServantCodegen extends DefaultCodegen implements CodegenConfig {
|
||||||
|
|
||||||
@ -432,7 +430,7 @@ public class HaskellServantCodegen extends DefaultCodegen implements CodegenConf
|
|||||||
case "pipes": return "(QueryList 'PipeSeparated (" + type + "))";
|
case "pipes": return "(QueryList 'PipeSeparated (" + type + "))";
|
||||||
case "multi": return "(QueryList 'MultiParamArray (" + type + "))";
|
case "multi": return "(QueryList 'MultiParamArray (" + type + "))";
|
||||||
default:
|
default:
|
||||||
throw new NotImplementedException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package io.swagger.codegen.Go;
|
package io.swagger.codegen.go;
|
||||||
|
|
||||||
import io.swagger.codegen.AbstractOptionsTest;
|
import io.swagger.codegen.AbstractOptionsTest;
|
||||||
import io.swagger.codegen.CodegenConfig;
|
import io.swagger.codegen.CodegenConfig;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package io.swagger.codegen.Go;
|
package io.swagger.codegen.go;
|
||||||
|
|
||||||
import io.swagger.codegen.CodegenModel;
|
import io.swagger.codegen.CodegenModel;
|
||||||
import io.swagger.codegen.CodegenProperty;
|
import io.swagger.codegen.CodegenProperty;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package io.swagger.codegen.slim;
|
package io.swagger.codegen.lumen;
|
||||||
|
|
||||||
import io.swagger.codegen.AbstractOptionsTest;
|
import io.swagger.codegen.AbstractOptionsTest;
|
||||||
import io.swagger.codegen.CodegenConfig;
|
import io.swagger.codegen.CodegenConfig;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package io.swagger.codegen.springBoot;
|
package io.swagger.codegen.springboot;
|
||||||
|
|
||||||
import io.swagger.codegen.CodegenConfig;
|
import io.swagger.codegen.CodegenConfig;
|
||||||
import io.swagger.codegen.java.JavaClientOptionsTest;
|
import io.swagger.codegen.java.JavaClientOptionsTest;
|
||||||
|
Loading…
Reference in New Issue
Block a user