I am new to Java. I am working on a legacy app that uses openapi 2.0 for swagger. I added a new controller with 2 api endpoints. Those 2 api endpoints are not showing up in swagger-ui. I see the entries for existing endpoints in openapi.json. I am trying my best not to manually edit openapi.json. Do we have to manually configure api endpoints in openapi.json version2.0 for it to show up in swagger ui? We use gradle to build our project. I re-built the project, but no luck.
Most of the tutorial seems to be for openapi 3.0, not 2.0. openapi 3.0 seems to auto generate all the endpoints in swagger-ui, but not sure if 2.0 does that.