Skip to content

Commit

Permalink
devonfw#1360 changed OpenAPI from RePreZen to latest Networknt
Browse files Browse the repository at this point in the history
  • Loading branch information
MansourD committed Jan 11, 2023
1 parent 24d485c commit 0d70f21
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions cobigen-plugins/cobigen-openapiplugin-parent/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>openapiplugin-parent</artifactId>
<packaging>pom</packaging>
Expand All @@ -18,9 +17,9 @@

<dependencies>
<dependency>
<groupId>com.github.maybeec</groupId>
<groupId>com.networknt</groupId>
<artifactId>openapi-parser</artifactId>
<version>4.0.4</version>
<version>2.1.5</version>
</dependency>
</dependencies>
</project>
</project>
Binary file not shown.

0 comments on commit 0d70f21

Please sign in to comment.