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>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-config-server</artifactId>
|
<artifactId>spring-cloud-config-server</artifactId>
|
||||||
</dependency>
|
</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 -->
|
<!-- https://mvnrepository.com/artifact/org.springframework.security.oauth/spring-security-oauth2 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -47,7 +43,10 @@
|
||||||
<version>2.5.2.RELEASE</version>
|
<version>2.5.2.RELEASE</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.security</groupId>
|
<groupId>org.springframework.security</groupId>
|
||||||
<artifactId>spring-security-oauth2-resource-server</artifactId>
|
<artifactId>spring-security-oauth2-resource-server</artifactId>
|
||||||
|
@ -58,16 +57,24 @@
|
||||||
<artifactId>spring-boot-starter-security</artifactId>
|
<artifactId>spring-boot-starter-security</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springdoc</groupId>
|
||||||
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||||
|
<version>2.5.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.security</groupId>
|
<groupId>org.springframework.security</groupId>
|
||||||
<artifactId>spring-security-test</artifactId>
|
<artifactId>spring-security-test</artifactId>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -15,6 +15,7 @@ spring:
|
||||||
password: admin
|
password: admin
|
||||||
|
|
||||||
springdoc:
|
springdoc:
|
||||||
|
|
||||||
enable-native-support: true
|
enable-native-support: true
|
||||||
api-docs:
|
api-docs:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springdoc</groupId>
|
<groupId>org.springdoc</groupId>
|
||||||
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
|
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
|
||||||
<version>2.2.0</version>
|
<version>2.5.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|
|
@ -27,7 +27,6 @@ spring:
|
||||||
predicates:
|
predicates:
|
||||||
- Path=/eureka/**
|
- Path=/eureka/**
|
||||||
# dummy service routing
|
# dummy service routing
|
||||||
# TODO smth is wrong with this
|
|
||||||
- id: dummy
|
- id: dummy
|
||||||
uri: lb://dummy
|
uri: lb://dummy
|
||||||
predicates:
|
predicates:
|
||||||
|
@ -69,7 +68,6 @@ springdoc:
|
||||||
urls:
|
urls:
|
||||||
- name: Gateway API
|
- name: Gateway API
|
||||||
url: /v3/api-docs
|
url: /v3/api-docs
|
||||||
# TODO not working rn
|
|
||||||
- name: Dummy Service API
|
- name: Dummy Service API
|
||||||
url: /api/v1/dummy/v3/api-docs
|
url: /api/v1/dummy/v3/api-docs
|
||||||
|
|
||||||
|
|
Reference in a new issue