Using @RequestParam annotated method with swagger ui

后端 未结 1 442
自闭症患者
自闭症患者 2020-12-15 04:06

I am using Springfox libraries to generate documentation for REST service and display it in Swagger UI. I followed the directions in Springfox documentation.

相关标签:
1条回答
  • 2020-12-15 05:07

    This was caused by the line

     enableUrlTemplating(true)
    

    in Docket configuration which I copied from example and forgot to remove.

    After removing this line everything is working as expected.

    0 讨论(0)
提交回复
热议问题