-
Notifications
You must be signed in to change notification settings - Fork 72
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
Schemas converted to String type, when default content type changed to application/yaml #756
Comments
Welcome to Springwolf. Thanks a lot for reporting your first issue. Please check out our contributors guide and feel free to join us on discord. |
Hi @MrOli1412 Feel free to upvote/comment the linked issue asyncapi/spec#1038 |
We suggested the code change stoplightio/spectral#2625, which we believe will address the underlying issue. When merged & released, we will remove the workaround from Springwolf. |
The change is staged for release and will be part of the next release. If you want to try and verify it in your application today, Thank you for the report/contribution! |
Hi @MrOli1412, |
The change is available in the latest release. 🎉 Thank you for the report/contribution and making Springwolf better! |
Describe the bug
When I changed
default-content-type
toapplication/yaml
generated file and springwolf-ui received in Schemas section all POJO's as String object.
Dependencies and versions used
tested on latest master version(1.3.0-SNAPSHOT) and 1.2.0 of
springwolf-amqp
springwolf-ui
Code example
Proper working
springwolf.docket.default-content-type=application/json (default)
Issue
springwolf.docket.default-content-type=application/yaml
I was working on yours AMQP example (https://github.com/springwolf/springwolf-core/tree/master/springwolf-examples/springwolf-amqp-example), and I changed default-content-type in docker-compose.yaml
Result:
The text was updated successfully, but these errors were encountered: