我正在使用swagger文档为我的应用程序生成API。Doc是用yml编写的,在某些地方它将定义一些属性,这些属性是enum (我们使用mysql)。. // And so on and on{ "title": "string",正如您所看到的,type field将是配置文件中定义的字符串,但我收到的是以下内容: "type&q
我使用的是io.springfox springfox-boot-starter v3.0.0,@Configurationpublic class SwaggerConfig implements WebMvcConfigurer {
public Docketapi() {
return new Docket(DocumentationType.SWAGGER<
我们有一个带有springfox-swagger2和springfox-swagger-ui的SpringBoot (1.5.12版) REST Api (2.9.2版) @EnableSwagger2public class Application extends SpringBootServletInitializer { public Docket swagger(){ .select()