-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add support for Kotlin Serialization #589
Comments
Hi @ctasada , springwolf uses swagger to get the property names. Even though I use kotlin myself, adding support for one 'external' annotations opens the door to add support for many more annotations. Multiple alternatives come to mind:
Do you have a simple solution in mind? |
Agree, I was thinking about maybe something like a Swagger ModelConverter that supports the annotation. I found this old ticket in SpringDoc which we may use as reference: springdoc/springdoc-openapi#1226 |
Awesome, Springwolf does support the The class in the linked GH comment has quite high complexity and I am unsure about creating a Springwolf plugin at this point, which will require maintenance. Still, you can add the class to your project. I am open to re-consider adding it to springwolf, if more people request it. |
Thank you @ctasada for the contribution. As discussed, we mark it as beta for now. https://github.com/springwolf/springwolf.github.io/blob/master/docs |
Springwolf doesn't support the generation of AsyncAPI components when used with Kotlin
Example:
The outcome looks like:
Ignoring the
@SerialName
annotation.The text was updated successfully, but these errors were encountered: