forked from loafle/openapi-generator-original
Merge pull request #3005 from pablograna/remove-unnecessary-call-to-parser
Remove unnecessary 2nd call to SwaggerParser.
This commit is contained in:
commit
af0c8b5ed0
@ -163,8 +163,6 @@ public class CodeGenMojo extends AbstractMojo {
|
|||||||
@Override
|
@Override
|
||||||
public void execute() throws MojoExecutionException {
|
public void execute() throws MojoExecutionException {
|
||||||
|
|
||||||
Swagger swagger = new SwaggerParser().read(inputSpec);
|
|
||||||
|
|
||||||
//attempt to read from config file
|
//attempt to read from config file
|
||||||
CodegenConfigurator configurator = CodegenConfigurator.fromFile(configurationFile);
|
CodegenConfigurator configurator = CodegenConfigurator.fromFile(configurationFile);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user