-
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
Fix: Fixed autogenerated description #189
Conversation
81def66
to
7db212b
Compare
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.
Thanks a lot for your contribution, I just made a suggestion on how to resolve the FIXME comment.
...shamir/springwolf/asyncapi/scanners/channels/operationdata/AbstractOperationDataScanner.java
Outdated
Show resolved
Hide resolved
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.
Thanks a lot for your contribution, I just made a suggestion on how to resolve the FIXME comment.
@ctasada Is there anything anything else you like to see being included in the next release? |
Nothing urgent. If we can get another release done in 2-4 weeks I think I'm good 😉 |
When defining an `@AsyncOperation` description like in ``` @AsyncOperation( channelName = "channel-name", description = "My channel description") ``` The generated AsyncAPI schema was always showing `Auto-generated description` now properly shows the defined `description` value.
The Message description was not properly parsed and wrongly showed the Operation description. Until it's properly fixed, we decided to remove this misguiding description
7db212b
to
cd138eb
Compare
The Message description was not properly parsed and wrongly showed the Operation description. Until it's properly fixed, we decided to remove this misguiding description
While working at springwolf#189 we found out that the provided Message description was, in fact, the one associated to the Operation. As a result we decided to fully remove the description until we could fix it. This PR adds support for Message description. Any `Message` object, annotated with `@Schema` will use the annotation `description` value, as the Message description. The https://www.springwolf.dev/docs/configuration/documenting-schemas documentation is already stating this scenario, so I don't think we need further documentation updates.
While working at springwolf#189 we found out that the provided Message description was, in fact, the one associated to the Operation. As a result we decided to fully remove the description until we could fix it. This PR adds support for Message description. Any `Message` object, annotated with `@Schema` will use the annotation `description` value, as the Message description. The https://www.springwolf.dev/docs/configuration/documenting-schemas documentation is already stating this scenario, so I don't think we need further documentation updates.
While working at springwolf#189 we found out that the provided Message description was, in fact, the one associated to the Operation. As a result we decided to fully remove the description until we could fix it. This PR adds support for Message description. Any `Message` object, annotated with `@Schema` will use the annotation `description` value, as the Message description. The https://www.springwolf.dev/docs/configuration/documenting-schemas documentation is already stating this scenario, so I don't think we need further documentation updates.
While working at #189 we found out that the provided Message description was, in fact, the one associated to the Operation. As a result we decided to fully remove the description until we could fix it. This PR adds support for Message description. Any `Message` object, annotated with `@Schema` will use the annotation `description` value, as the Message description.
When defining an
@AsyncOperation
description like inThe generated AsyncAPI schema was always showing
Auto-generated description
now properly shows the defined
description
value.