Closed VincentBrule closed 2 years ago
I'm not sure how easy this is going to be to get working.
You could rewrite your classes - something like:
final case class DataExampleClass(
data: CustomCollectionExampleProperties
)
final case class CustomCollectionExampleProperties(
features: Seq[FeatureExampleProperties]
)
final case class FeatureExampleProperties(
geometry: Option[ExampleProperties]
)
I have a PR that fixes the issue. Could you stick with swagger-scala-module v2.7.2? I don't plan to do a new release for a few weeks - until after Jackson v2.14.0 comes out.
Yes sure no problem, I will stick with v2.7.2 until the new version is released. Thanks for your help and your quick answer @pjfanning 🙏
I released v2.7.5 with this fix, the scala 3 support has some extra experimental changes but the scala 2 builds should be safe to use.
@SamTheisens the v2.7.5 releases has some fixes, would you be able to try it out?
Sorry for the delay @pjfanning, this specific issue is gone with the latest release, thanks.
@SamTheisens the v2.7.5 releases has some fixes, would you be able to try it out?
Sorry, haven't tried this out yet. Will get back to you if I encounter any issues
@pjfanning I found one issue. Here's a fix: https://github.com/swagger-akka-http/swagger-scala-module/pull/206
Hello, Since the version 2.7.3, I'm getting this error:
java.lang.NoClassDefFoundError: no Java class corresponding to T found
I tried to create an example as minimal as possible to reproduce the error:And:
With this, you can easily reproduce the bug normally.
Do you have an idea what can be the issue? I also tried with the latest code of develop.