spring-boot-starter-swagger icon indicating copy to clipboard operation
spring-boot-starter-swagger copied to clipboard

能否支持同组多个包名配置功能,或者增加多组动态开启和关闭功能

Open ArtIsLong opened this issue 7 years ago • 5 comments

能否支持同组多个包名配置功能,或者增加多组动态开启和关闭功能

ArtIsLong avatar Jan 24 '19 03:01 ArtIsLong

@ArtIsLong 你说呢

thank037 avatar Jan 25 '19 09:01 thank037

@thank037 当然是可以加的啦,我在自己的shiro工具里都实现了呢

ArtIsLong avatar Jan 28 '19 03:01 ArtIsLong

不太明白你的意思,可以描述的具体一点吗?

huotaihe avatar Feb 01 '19 01:02 huotaihe

base-package配置项支持配置多个包路径,比如多个包路径用逗号分隔

ArtIsLong avatar Feb 01 '19 09:02 ArtIsLong

base-package配置项支持配置多个包路径,比如多个包路径用逗号分隔

目前可以通过引入多个docket来实现,多包路径。

不过,你说的这个问题,在一些场景下的确需要。

另外,要解决这个问题,估计得改springfox.swagger的配置源码:(

zpj824 avatar Apr 25 '19 07:04 zpj824