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 ac29036 commit 2938a79
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 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
4 changes: 2 additions & 2 deletions cobigen-plugins/cobigen-openapiplugin-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,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>

0 comments on commit 2938a79

Please sign in to comment.