Skip to content

Commit

Permalink
feat(core-api): add rest repository in swagger ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomgrus committed Jan 24, 2022
1 parent bfb032e commit 62d35ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion code/core-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<sonar.language>java</sonar.language>
<jacoco.phase.agent>test-compile</jacoco.phase.agent>
<jacoco.phase.report>verify</jacoco.phase.report>
<springdoc.version>1.6.4</springdoc.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -51,8 +52,13 @@
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.5.10</version>
<version>${springdoc.version}</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-data-rest</artifactId>
<version>${springdoc.version}</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
2 changes: 1 addition & 1 deletion code/core-api/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spring:
import: config-database.yaml,optional:config-custom.yaml
springdoc:
packagesToScan: com.decathlon.ara
pathsToMatch: /api/**
pathsToMatch: /**
use-management-port: true
management:
info:
Expand Down

0 comments on commit 62d35ef

Please sign in to comment.