forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test cases for openapi-generator-maven-plugin:generate input
specifications: * URLs of the form jar:jar-specific-uri!/spec.yaml * Resources on the compilation classpath in addition to the existing FILE test case.
- Loading branch information
1 parent
c66f1ef
commit 41077f5
Showing
8 changed files
with
109 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+3.42 KB
...nerator-maven-plugin/src/test/resources/default/local-repo/petstore/schema/1/schema-1.jar
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
...nerator-maven-plugin/src/test/resources/default/local-repo/petstore/schema/1/schema-1.pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>petstore</groupId> | ||
<artifactId>schema</artifactId> | ||
<version>1</version> | ||
<description>POM was created from install:install-file</description> | ||
</project> |
12 changes: 12 additions & 0 deletions
12
...ven-plugin/src/test/resources/default/local-repo/petstore/schema/maven-metadata-local.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata> | ||
<groupId>petstore</groupId> | ||
<artifactId>schema</artifactId> | ||
<versioning> | ||
<release>1</release> | ||
<versions> | ||
<version>1</version> | ||
</versions> | ||
<lastUpdated>20210724220722</lastUpdated> | ||
</versioning> | ||
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
modules/openapi-generator-maven-plugin/src/test/resources/default/settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<settings> | ||
<activeProfiles> | ||
<activeProfile>default</activeProfile> | ||
</activeProfiles> | ||
<profiles> | ||
<profile> | ||
<id>default</id> | ||
<localRepository>${basedir}/local-repo</localRepository> | ||
</profile> | ||
</profiles> | ||
</settings> |
File renamed without changes.