Skip to content
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

swagger-inflector-json regression errors in 0.13.0 #315

Closed
hirth-abi opened this issue Jul 31, 2023 · 2 comments
Closed

swagger-inflector-json regression errors in 0.13.0 #315

hirth-abi opened this issue Jul 31, 2023 · 2 comments
Labels
bug Something isn't working core Involves springwolf-core

Comments

@hirth-abi
Copy link

Describe the bug

After updating a project from 0.11.1 to 0.13.0 we get several error messages during Spring Boot startup like

ERROR i.s.o.i.examples.ExampleBuilder.fromProperty(451) - unable to convert `{country=string}` to JsonNode
ERROR i.s.o.i.examples.ExampleBuilder.fromProperty(451) - unable to convert `{id=string, name=string}` to JsonNode

The effect seems to be that those property objects are empty in the generated spec.

The same project was working fine in 0.11.1

Dependencies and versions used

Springwolf 0.13.0

Code example

Since this is an internal project, unfortunately I cannot provide an example project.

@hirth-abi hirth-abi added the bug Something isn't working label Jul 31, 2023
@timonback
Copy link
Member

timonback commented Aug 7, 2023

Hi @hirth-abi,
as commented in #314 I have trouble to replicate the issue.

Are you able to adapt the DTO in i.e. https://github.com/springwolf/springwolf-core/blob/master/springwolf-examples/springwolf-kafka-example/src/main/java/io/github/stavshamir/springwolf/example/kafka/dtos/ExamplePayloadDto.java (in your fork) and then we have a look (together)?

@timonback timonback added the core Involves springwolf-core label Aug 7, 2023
@springwolf springwolf deleted a comment Aug 9, 2023
@timonback
Copy link
Member

Closing due to inactivity and possible bugfix released in 0.14.0

Feel free to re-open if the issue persists with the current version of springwolf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Involves springwolf-core
Projects
None yet
Development

No branches or pull requests

2 participants