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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -