SpringBoot基於Swagger2怎麼建構API文檔
文章簡介:一、新增依賴io.springfoxspringfox-swagger22.7.0io.springfoxspringfox-swagger-ui2.7.0二、創建Swagger2配置類別packagecom.offcn.config;importorg.springframework.context.annotation.Confiagecom.offcn.config;importorg.springframework.context.annotation.Confifiration;importenf. importspringfox.docu
2023-05-10
評論 0
1065