-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROX-11370: allow unknown enum values #153
Closed
janisz
wants to merge
6
commits into
dependabot/maven/stackrox-container-image-scanner/org.openapitools-openapi-generator-maven-plugin-6.0.0
from
allow_unknown_enums
Closed
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
089c49c
ROX-11370: allow unknown enum values
janisz 3abe24b
Update to 6.0.0.
janisz 3fb631a
Update openapigenerator
janisz 73792fc
Merge branch 'master' into allow_unknown_enums
janisz be6bd5c
Merge branch 'dependabot/maven/stackrox-container-image-scanner/org.o…
janisz 6d47ff0
ROX-11370 #review
dhaus67 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -81,6 +81,11 @@ | |||||
<version>4.5.13</version> | ||||||
<scope>test</scope> | ||||||
</dependency> | ||||||
<dependency> | ||||||
<groupId>javax</groupId> | ||||||
<artifactId>javaee-api</artifactId> | ||||||
<version>7.0</version> | ||||||
</dependency> | ||||||
<dependency> | ||||||
<groupId>com.google.guava</groupId> | ||||||
<artifactId>guava</artifactId> | ||||||
|
@@ -170,8 +175,28 @@ | |||||
<id>repo.jenkins-ci.org</id> | ||||||
<url>https://repo.jenkins-ci.org/public/</url> | ||||||
</repository> | ||||||
<repository> | ||||||
<id>oss.sonatype.org-snapshot</id> | ||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||||||
<releases> | ||||||
<enabled>false</enabled> | ||||||
</releases> | ||||||
<snapshots> | ||||||
<enabled>true</enabled> | ||||||
</snapshots> | ||||||
</repository> | ||||||
</repositories> | ||||||
<pluginRepositories> | ||||||
<pluginRepository> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When 6.0.1 will be released we can remove this |
||||||
<id>oss.sonatype.org-snapshot</id> | ||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||||||
<releases> | ||||||
<enabled>false</enabled> | ||||||
</releases> | ||||||
<snapshots> | ||||||
<enabled>true</enabled> | ||||||
</snapshots> | ||||||
</pluginRepository> | ||||||
<pluginRepository> | ||||||
<id>repo.jenkins-ci.org</id> | ||||||
<url>https://repo.jenkins-ci.org/public/</url> | ||||||
|
@@ -203,7 +228,7 @@ | |||||
<groupId>org.openapitools</groupId> | ||||||
<artifactId>openapi-generator-maven-plugin</artifactId> | ||||||
<!-- RELEASE_VERSION --> | ||||||
<version>6.0.0</version> | ||||||
<version>6.0.1-SNAPSHOT</version> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can wait for dependabot to update this deps so we don't need snapshot repository
Suggested change
|
||||||
<!-- /RELEASE_VERSION --> | ||||||
<executions> | ||||||
<execution> | ||||||
|
@@ -224,6 +249,7 @@ | |||||
<dateLibrary>java8</dateLibrary> | ||||||
<java8>true</java8> | ||||||
<sourceFolder>src/gen/java/main</sourceFolder> | ||||||
<enumUnknownDefaultCase>true</enumUnknownDefaultCase> | ||||||
</configOptions> | ||||||
</configuration> | ||||||
</execution> | ||||||
|
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
16 changes: 16 additions & 0 deletions
16
stackrox-container-image-scanner/src/test/resources/__files/v1/images/scan/unknown-enum.json
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,16 @@ | ||
{ | ||
"scan": { | ||
"components": [ | ||
{ | ||
"vulns": [ | ||
{ | ||
"cve": "CVE-MISSING-DATA" | ||
} | ||
] | ||
} | ||
], | ||
"notes": [ | ||
"UNKNOWN VALUE" | ||
] | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When 6.0.1 will be released we can remove this