technimadhu
5 years agoNew Contributor
Swagger - Parameter not rendering
I recently upgraded to Springboot 2.2 and after that my swagger 2.0 files were not showing parameters (Could not render this component message).
I made the swagger simple with just one endpoint and one param and i still see that error. When i copy paste it to swagger UI, no errors reported.. What could be the reason
My pom dependencies, screen shot of error, swagger yaml file and browser console error attached. Appreciate any tips on resolving this..
Finally found the reason for my problem. I was including a library which had EnableWebMvc annotaiton, and our app is a SpringBoot app.. though i dont know exactly what the root cause is, but removing the annotation fixed my problem.