diff --git a/cobigen-plugins/cobigen-openapiplugin-parent/cobigen-openapiplugin-model/src/main/java/com/devonfw/cobigen/openapiplugin/model/OpenAPIFile.java b/cobigen-plugins/cobigen-openapiplugin-parent/cobigen-openapiplugin-model/src/main/java/com/devonfw/cobigen/openapiplugin/model/OpenAPIFile.java index 66905540a0..76685f6d7e 100644 --- a/cobigen-plugins/cobigen-openapiplugin-parent/cobigen-openapiplugin-model/src/main/java/com/devonfw/cobigen/openapiplugin/model/OpenAPIFile.java +++ b/cobigen-plugins/cobigen-openapiplugin-parent/cobigen-openapiplugin-model/src/main/java/com/devonfw/cobigen/openapiplugin/model/OpenAPIFile.java @@ -3,7 +3,7 @@ import java.net.URI; import java.nio.file.Path; -import com.reprezen.kaizen.oasparser.model3.OpenApi3; +import com.networknt.oas.model.OpenApi3; /** Swagger file transfer object which contains the {@link Path} and the name of the file */ public class OpenAPIFile { diff --git a/cobigen-plugins/cobigen-openapiplugin-parent/cobigen-openapiplugin/src/main/java/com/devonfw/cobigen/openapiplugin/inputreader/OpenAPIInputReader.java b/cobigen-plugins/cobigen-openapiplugin-parent/cobigen-openapiplugin/src/main/java/com/devonfw/cobigen/openapiplugin/inputreader/OpenAPIInputReader.java index 9780ad82a0..74349d4938 100644 --- a/cobigen-plugins/cobigen-openapiplugin-parent/cobigen-openapiplugin/src/main/java/com/devonfw/cobigen/openapiplugin/inputreader/OpenAPIInputReader.java +++ b/cobigen-plugins/cobigen-openapiplugin-parent/cobigen-openapiplugin/src/main/java/com/devonfw/cobigen/openapiplugin/inputreader/OpenAPIInputReader.java @@ -30,19 +30,19 @@ import com.devonfw.cobigen.openapiplugin.model.ResponseDef; import com.devonfw.cobigen.openapiplugin.model.ServerDef; import com.devonfw.cobigen.openapiplugin.util.constants.Constants; -import com.reprezen.jsonoverlay.JsonOverlay; -import com.reprezen.jsonoverlay.Overlay; -import com.reprezen.kaizen.oasparser.OpenApiParser; -import com.reprezen.kaizen.oasparser.model3.Info; -import com.reprezen.kaizen.oasparser.model3.MediaType; -import com.reprezen.kaizen.oasparser.model3.OpenApi3; -import com.reprezen.kaizen.oasparser.model3.Operation; -import com.reprezen.kaizen.oasparser.model3.Parameter; -import com.reprezen.kaizen.oasparser.model3.Path; -import com.reprezen.kaizen.oasparser.model3.RequestBody; -import com.reprezen.kaizen.oasparser.model3.Response; -import com.reprezen.kaizen.oasparser.model3.Schema; -import com.reprezen.kaizen.oasparser.model3.Server; +import com.networknt.jsonoverlay.JsonOverlay; +import com.networknt.jsonoverlay.Overlay; +import com.networknt.oas.OpenApiParser; +import com.networknt.oas.model.Info; +import com.networknt.oas.model.MediaType; +import com.networknt.oas.model.OpenApi3; +import com.networknt.oas.model.Operation; +import com.networknt.oas.model.Parameter; +import com.networknt.oas.model.Path; +import com.networknt.oas.model.RequestBody; +import com.networknt.oas.model.Response; +import com.networknt.oas.model.Schema; +import com.networknt.oas.model.Server; /** * Extension for the {@link InputReader} Interface of the CobiGen, to be able to read OpenApi3 definition files into diff --git a/cobigen-plugins/cobigen-openapiplugin-parent/pom.xml b/cobigen-plugins/cobigen-openapiplugin-parent/pom.xml index 37cf8047f1..070ab452cf 100644 --- a/cobigen-plugins/cobigen-openapiplugin-parent/pom.xml +++ b/cobigen-plugins/cobigen-openapiplugin-parent/pom.xml @@ -18,9 +18,9 @@ - com.github.maybeec + com.networknt openapi-parser - 4.0.4 + 2.1.5