spring boot - Swagger-ui ApiParam not working -
i using vesion 2.7.0 of swagger-ui , want display description field. using in controller(requestmapping)
unfortunately not working. read, in 2.6.1 bug. works in restcontroller.
@getmapping("/countries") @apiresponses(value = { @apiresponse(code = 400, message = "invalid input provided") }) responseentity<countries> getcountries(@apiparam(value = "countrycode e.g. de") @requestparam("countrycode") string countrycode); do know how can add description? in swagger-ui shows countrycode.
Comments
Post a Comment