-
Notifications
You must be signed in to change notification settings - Fork 80
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
'exampleSetFlag' value from Swagger-Core is leaked into the JSON serialized specification #169
Labels
bug
Something isn't working
Comments
Re-opening as the underlying issue is not solved. |
ctasada
pushed a commit
to ctasada/springwolf-core
that referenced
this issue
May 12, 2023
Fixes springwolf#169 The `exampleSetFlag` and `types` properties belong to `swagger-core` internals and are not part of the AsyncAPI specification. See swagger-api/swagger-core#3637 (comment) for some details. This PR replaces the custom JSON ObjectMapper by the `swagger-core` one, which already contains all the needed `mixins` to properly serialize the specification. Fixes springwolf#169 for Json Serialization
ctasada
pushed a commit
to ctasada/springwolf-core
that referenced
this issue
May 13, 2023
Fixes springwolf#169 The `exampleSetFlag` and `types` properties belong to `swagger-core` internals and are not part of the AsyncAPI specification. See swagger-api/swagger-core#3637 (comment) for some details. This PR replaces the custom JSON ObjectMapper by the `swagger-core` one, which already contains all the needed `mixins` to properly serialize the specification. Fixes springwolf#169 for Json Serialization
@timonback this specific issue should be now fixed |
timonback
added a commit
that referenced
this issue
May 27, 2023
* fix: Fixed JSON serializer to not leak unintended values Fixes #169 The `exampleSetFlag` and `types` properties belong to `swagger-core` internals and are not part of the AsyncAPI specification. See swagger-api/swagger-core#3637 (comment) for some details. This PR replaces the custom JSON ObjectMapper by the `swagger-core` one, which already contains all the needed `mixins` to properly serialize the specification. Fixes #169 for Json Serialization * chore: Use swagger objectmapper The swagger objectmapper uses jackson underneath. Besides registering serializers, also the mapper is configured automatically. --------- Co-authored-by: Timon Back <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When creating the
asyncapi.json
file it contains properties that do not belong to the AsyncAPI specification, but that are swagger-core internals.Unexpected values
A similar issue is reported at swagger-api/swagger-core#3637 (comment)
Dependencies and versions used
springwolf-core
version0.10.0
.Code example
Serialized value
Expected value
The text was updated successfully, but these errors were encountered: