项目接口管理

2023-03-07

# 手动维护

eolinker

apifox

自己写文档

 

# 后台自动生成

swagger -- jakarta问题导致spring boot3跑不起来

springfox

http://springfox.github.io/springfox/

 

## springdoc

-- 支持spring boot3

https://springdoc.org/

        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
            <version>2.0.2</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>
springdoc:
  api-docs:
    path: /swagger-ui/api-docs

> 注意放开访问权限,默认路径 /swagger-ui/index.html