softwaremill / tapir

Rapid development of self-documenting APIs
https://tapir.softwaremill.com
Apache License 2.0
1.36k stars 418 forks source link

Schema not found - migrating to 0.17.x #965

Closed majk-p closed 3 years ago

majk-p commented 3 years ago

When recently migrating to Tapir 0.17.x I've noticed missing implicit Schema:

could not find implicit value for evidence parameter type sttp.tapir.Schema[...]

Fortunately this has been mentioned in the release notes (https://github.com/softwaremill/tapir/releases/tag/v0.17.0), fixed by adding import import sttp.tapir.generic.auto._.

@adamw WDYT about adding @implicitNotFound annotation to Schema, suggesting that the import might fix the issue?

adamw commented 3 years ago

Sure, sounds like a good way to help users :)

majk-p commented 3 years ago

Then I'm on it :wink: