Upgrade to SpringDoc OpenAPI 2.0.0 (#2769)

#### What type of PR is this?

/kind improvement
/area core
/milestone 2.0.0-rc.2

#### What this PR does / why we need it:

See https://github.com/halo-dev/halo/issues/2767 for more.

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/2767

#### Does this PR introduce a user-facing change?

```release-note
升级依赖 SpringDoc OpenAPI 至 2.0.0
```
pull/2772/head
John Niang 2022-11-25 10:31:07 +08:00 committed by GitHub
parent 5bf7851a1a
commit 368d8f4ef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@ ext {
guava = "31.1-jre"
jsoup = '1.15.3'
jsonPatch = "1.13"
springDocOpenAPI = "2.0.0"
}
dependencies {
@ -58,7 +59,7 @@ dependencies {
implementation 'org.springframework.security:spring-security-oauth2-jose'
implementation 'org.springframework.security:spring-security-oauth2-resource-server'
implementation 'org.springdoc:springdoc-openapi-starter-webflux-ui:2.0.0-RC2'
implementation "org.springdoc:springdoc-openapi-starter-webflux-ui:$springDocOpenAPI"
implementation 'org.openapi4j:openapi-schema-validator:1.0.7'
implementation "net.bytebuddy:byte-buddy"