ScaCap / spring-auto-restdocs

Spring Auto REST Docs is an extension to Spring REST Docs
https://scacap.github.io/spring-auto-restdocs/
Apache License 2.0
311 stars 86 forks source link

"No description found for constraint" warnings increased #336

Closed fbenz closed 5 years ago

fbenz commented 5 years ago

With the introduction of the following line https://github.com/ScaCap/spring-auto-restdocs/pull/317/files#diff-9f986a9a5550c5f97b02ca5e1c667f29R88 we get may more warnings like

WARN 5504 --- [           main] .c.ConstraintAndGroupDescriptionResolver : No description found for constraint capital.scalable.restdocs.example.items.ItemResponse: Can't find resource for bundle java.util.PropertyResourceBundle, key capital.scalable.restdocs.example.items.ItemResponse.description

See https://travis-ci.org/ScaCap/spring-auto-restdocs/jobs/544592362#L2367

This issue originates from a discussion on StackOverflow: https://stackoverflow.com/questions/56571805/no-description-found-for-classes-with-custom-jackson-objectmapper?noredirect=1

There are at least two things here:

PR: https://github.com/ScaCap/spring-auto-restdocs/pull/335

@jmisur What are your thoughts?

jmisur commented 5 years ago

I believe we can silence it.