forked from loafle/openapi-generator-original
Use UnsupportedOperationException.
Replaced NotImplementedException with UnsupportedOperationException. See bug #3011. Eclipse was throwing some errors related to differences in package names vs file path. I renamed the packages io.swagger.codegen.Go to io.swagger.codegen.go, io.swagger.codegen.slim to package io.swagger.codegen.lumen and io.swagger.codegen.springBoot to io.swagger.codegen.springboot in some test files.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package io.swagger.codegen.Go;
|
||||
package io.swagger.codegen.go;
|
||||
|
||||
import io.swagger.codegen.AbstractOptionsTest;
|
||||
import io.swagger.codegen.CodegenConfig;
|
||||
@@ -29,7 +29,7 @@ public class GoClientOptionsTest extends AbstractOptionsTest {
|
||||
clientCodegen.setPackageVersion(GoClientOptionsProvider.PACKAGE_VERSION_VALUE);
|
||||
times = 1;
|
||||
clientCodegen.setPackageName(GoClientOptionsProvider.PACKAGE_NAME_VALUE);
|
||||
times = 1;
|
||||
times = 1;
|
||||
}};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.codegen.Go;
|
||||
package io.swagger.codegen.go;
|
||||
|
||||
import io.swagger.codegen.CodegenModel;
|
||||
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.CodegenConfig;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package io.swagger.codegen.springBoot;
|
||||
package io.swagger.codegen.springboot;
|
||||
|
||||
import io.swagger.codegen.CodegenConfig;
|
||||
import io.swagger.codegen.java.JavaClientOptionsTest;
|
||||
@@ -54,7 +54,7 @@ public class SpringBootServerOptionsTest extends JavaClientOptionsTest {
|
||||
times = 1;
|
||||
clientCodegen.setBasePackage(SpringBootServerOptionsProvider.BASE_PACKAGE_VALUE);
|
||||
times = 1;
|
||||
|
||||
|
||||
}};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user