http:// localhost:8080 / v2 / api-docs给出了“,” additionalProperties“:{” type“:” object“}}},” 401“:

时间:2019-08-02 18:33:55

标签: spring-boot

@配置 @ EnableSwagger2 公共类SwaggerConfig {

//Bean - Docket

@Bean
public Docket api() {
    return new Docket(DocumentationType.SWAGGER_2);
}

0 个答案:

没有答案