diff options
author | liamfallon <liam.fallon@est.tech> | 2022-12-08 18:38:13 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2022-12-08 18:41:28 +0000 |
commit | 555445562f24224ac5333b32345adff62f2c0c4c (patch) | |
tree | 5fa5eccacf008639ae8d222453ee73c84624fba9 /main/pom.xml | |
parent | e5be0765d1f11dad136e4a81cf37bad481e26b0d (diff) |
Replace SpringFox with SpringDoc in policy-api
This commit:
- Remove SpringFox
- Adds SpringDoc
- Enables the .../v3/api-docs endpoint
Note that the Swagger annotations from the OpenAPI specification
generated code need to be enabled so that the API specification is
available over the ..../v3/api-docs endpoint. THis will be done in
subsequent commits.
Issue-ID: POLICY-4404
Change-Id: I5fb62e104c3a77e167a722a83f62dbddf2abedf1
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'main/pom.xml')
-rw-r--r-- | main/pom.xml | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/main/pom.xml b/main/pom.xml index 588b59d9..5713c884 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -99,21 +99,15 @@ <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> + <groupId>org.springdoc</groupId> + <artifactId>springdoc-openapi-ui</artifactId> + </dependency> + <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> <version>${version.io.micrometer}</version> <scope>runtime</scope> </dependency> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-boot-starter</artifactId> - <version>${version.springfox}</version> - </dependency> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> - <scope>runtime</scope> - </dependency> </dependencies> <build> |