-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
feature/jackson3 native (fixes #22294) #23071
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
Open
thorstenhirsch
wants to merge
27
commits into
OpenAPITools:master
Choose a base branch
from
thorstenhirsch:feature/jackson3-native
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+48,170
−390
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
2a9e1e6
add jackson 3 support to java native
thorstenhirsch 8f7a982
upgrade to jackson 3.0.4, fix whitespaces
thorstenhirsch a8fb300
remove importMapping.put section
thorstenhirsch b69df0d
require Java 17 for Jackson 3
thorstenhirsch caca305
fix cubic-dev-ai issues, fix unit tests
thorstenhirsch 4e39fad
fix more cubic-dev-ai findings, includes a solution for missing jacks…
thorstenhirsch f13f114
use SerializationContext instead of SerializerProvider
thorstenhirsch a1e24d1
use JsonMapper instead of ObjectMapper for Jackson 3
thorstenhirsch e8453d3
also fix Mapper in JSON.java for Jackson 3
thorstenhirsch fd4a67c
update samples
thorstenhirsch 19d1296
fix mapper.copy()
thorstenhirsch f118f3f
add JacksonException handling
thorstenhirsch 8091162
remove IOException where not thrown anymore
thorstenhirsch 45dc531
Merge branch 'master' into feature/jackson3-native
thorstenhirsch bf23069
Update jackson_annotations_version in build.gradle.mustache
thorstenhirsch 786e186
update samples after rebase
thorstenhirsch d4bcb59
fix FakeApi integration test
thorstenhirsch 9d5e569
add native-jackson3 to samples-java-client-jdk17 workflow
thorstenhirsch 3bc4c27
Merge branch 'master' into feature/jackson3-native
thorstenhirsch fbf011e
fix compile errors
thorstenhirsch 52a5a6b
update samples and docs
thorstenhirsch cf4a519
update Jackson to v3.1.0, use {{jacksonPackage}}
thorstenhirsch 5d2fb18
update docs and samples
thorstenhirsch c93e857
Update Jackson 3 compatibility note in documentation
thorstenhirsch b0f9078
Merge branch 'OpenAPITools:master' into feature/jackson3-native
thorstenhirsch e801e42
update the correct documentation
thorstenhirsch 4ce631a
Update docs/generators/java-microprofile.md once again
thorstenhirsch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 @@ | ||
| generatorName: java | ||
| outputDir: samples/client/petstore/java/native-jackson3 | ||
| library: native | ||
| inputSpec: modules/openapi-generator/src/test/resources/3_0/java/native/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml | ||
| templateDir: modules/openapi-generator/src/main/resources/Java | ||
| additionalProperties: | ||
| artifactId: petstore-native-jackson3 | ||
| hideGenerationTimestamp: "true" | ||
| generateBuilders: true | ||
| useReflectionEqualsHashCode: "true" | ||
| useJackson3: "true" | ||
This file contains hidden or 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 hidden or 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 hidden or 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
3 changes: 1 addition & 2 deletions
3
modules/openapi-generator/src/main/resources/Java/RFC3339DateFormat.mustache
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
i did a test with
mvn integration-test -f samples/client/petstore/java/native-jackson3/pom.xmlbut resulted in errors, e..gcan you please take a look when you've time?
also please add this folder to the github workflow: https://github.com/OpenAPITools/openapi-generator/blob/master/.github/workflows/samples-java-client-jdk17.yaml