我spring boot 2.3.2.RELEASE与spring-cloud-config-server 2.2.4.RELEASE. 我试图spring-doc-openapi (1.4.3)在现有项目中实施。如果我添加@EnableConfigServer一个配置类文件,swagger-ui.html端点会返回一个奇怪的 json:
"name":"swagger-ui",
"profiles":[
"index.html"
],
"label":null,
"version":null,
"state":null,
"propertySources":[
]
}
而不是预期的招摇用户界面。我不确定它是否是一个错误,但希望能提供任何帮助。