diff --git a/BankingAppServer/pom.xml b/BankingAppServer/pom.xml
index fc77df7..15b4239 100644
--- a/BankingAppServer/pom.xml
+++ b/BankingAppServer/pom.xml
@@ -130,12 +130,6 @@
2.24.0
test
-
- org.springframework
- spring-test
- 6.0.7
- test
-
org.apache.maven.plugins
maven-surefire-plugin
@@ -147,6 +141,11 @@
spring-test
6.0.7
+
+ org.springdoc
+ springdoc-openapi-starter-webmvc-ui
+ 2.1.0
+
diff --git a/BankingAppServer/src/main/java/com/simplytest/server/config/OpenApiConfig.java b/BankingAppServer/src/main/java/com/simplytest/server/config/OpenApiConfig.java
new file mode 100644
index 0000000..0ef13b6
--- /dev/null
+++ b/BankingAppServer/src/main/java/com/simplytest/server/config/OpenApiConfig.java
@@ -0,0 +1,18 @@
+package com.simplytest.server.config;
+
+import io.swagger.v3.oas.models.Components;
+import io.swagger.v3.oas.models.OpenAPI;
+import io.swagger.v3.oas.models.info.Info;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class OpenApiConfig {
+ @Bean
+ public OpenAPI customOpenAPI() {
+ return new OpenAPI()
+ .components(new Components())
+ .info(new Info().title("Contact Application API").description(
+ "This is a sample Spring Boot RESTful service using springdoc-openapi and OpenAPI 3."));
+ }
+}
\ No newline at end of file