openapi setup
All checks were successful
build and publish docker image / deploy / build (push) Successful in 2m38s
All checks were successful
build and publish docker image / deploy / build (push) Successful in 2m38s
This commit is contained in:
parent
4021509916
commit
b668d6cecc
|
@ -35,10 +35,6 @@
|
|||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-config-server</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.springframework.security.oauth/spring-security-oauth2 -->
|
||||
<dependency>
|
||||
|
@ -47,7 +43,10 @@
|
|||
<version>2.5.2.RELEASE</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-oauth2-resource-server</artifactId>
|
||||
|
@ -58,16 +57,24 @@
|
|||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||
<version>2.5.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -15,6 +15,7 @@ spring:
|
|||
password: admin
|
||||
|
||||
springdoc:
|
||||
|
||||
enable-native-support: true
|
||||
api-docs:
|
||||
enabled: true
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
|
||||
<version>2.2.0</version>
|
||||
<version>2.5.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
|
|
@ -27,7 +27,6 @@ spring:
|
|||
predicates:
|
||||
- Path=/eureka/**
|
||||
# dummy service routing
|
||||
# TODO smth is wrong with this
|
||||
- id: dummy
|
||||
uri: lb://dummy
|
||||
predicates:
|
||||
|
@ -69,7 +68,6 @@ springdoc:
|
|||
urls:
|
||||
- name: Gateway API
|
||||
url: /v3/api-docs
|
||||
# TODO not working rn
|
||||
- name: Dummy Service API
|
||||
url: /api/v1/dummy/v3/api-docs
|
||||
|
||||
|
|
Reference in a new issue