diff --git a/src/main/java/systems/eventstream/field/FieldApplication.java b/src/main/java/systems/eventstream/field/FieldApplication.java index b16e55a..0ecd07f 100644 --- a/src/main/java/systems/eventstream/field/FieldApplication.java +++ b/src/main/java/systems/eventstream/field/FieldApplication.java @@ -6,6 +6,7 @@ @SpringBootApplication public class FieldApplication { + // OpenAPI2SpringBoot has the single main method public static void main(String[] args) { SpringApplication.run(FieldApplication.class, args); } diff --git a/src/main/java/systems/eventstream/field/swagger/OpenAPI2SpringBoot.java b/src/main/java/systems/eventstream/field/swagger/OpenAPI2SpringBoot.java index a3d63fa..ebaf775 100644 --- a/src/main/java/systems/eventstream/field/swagger/OpenAPI2SpringBoot.java +++ b/src/main/java/systems/eventstream/field/swagger/OpenAPI2SpringBoot.java @@ -22,9 +22,9 @@ public void run(String... arg0) throws Exception { } } - public static void main(String[] args) throws Exception { - new SpringApplication(OpenAPI2SpringBoot.class).run(args); - } + //public static void main(String[] args) throws Exception { + // new SpringApplication(OpenAPI2SpringBoot.class).run(args); + //} static class ExitException extends RuntimeException implements ExitCodeGenerator { private static final long serialVersionUID = 1L;