-
-
Notifications
You must be signed in to change notification settings - Fork 548
Description
Hi,
We have simply upgraded our spring 5 mvc legacy project to spring 6 (not in boot).
This project is still use xml configurations but included few java configurations too, Due to this upgrade we have to upgrade our swagger to spring doc open api version 2.8.0. Unfortunately we did not able to run it . The best case was we were able to run /v3/api-doc json api. We are intended to show only a set of api in swagger and as per documents we have created the GroupedOpenApi but this was not working. I thought, it my not working due to xml configuartion so I moved to sample application using java config but that also did not work.
I have two packages- 1. com.example.group.controller 2. com.example.demo.controller
I am expecting apis only from package #1 i.e. com.example.group.controller but that did not happen. In swagger Ui, group name displays at top right but on selecting it nothing happens and even on passing group name in url i.e v3/api-doc/group returns the same response.
Sample application is attached here width.
If team can provide a solution on this primarly and additional if possible any working demo app where swagger resources of UI serves through mvc:resources.