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

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -