Compare commits
1 Commits
master
...
feature/sw
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
845e2e691d |
5
pom.xml
5
pom.xml
@@ -17,6 +17,11 @@
|
||||
<java.version>17</java.version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-ui</artifactId>
|
||||
<version>1.6.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.eventsourcing.configuration;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
|
||||
import io.swagger.v3.oas.annotations.info.Contact;
|
||||
import io.swagger.v3.oas.annotations.info.Info;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
@OpenAPIDefinition(info = @Info(title = "Spring CQRS and Event Sourcing Microservice",
|
||||
description = "Spring Postgresql MongoDB Kafka CQRS and Event Sourcing Microservice",
|
||||
contact = @Contact(name = "Alexander Bryksin", email = "alexander.bryksin@yandex.ru", url = "https://github.com/AleksK1NG")))
|
||||
@Component
|
||||
public class SwaggerOpenAPIConfiguration {
|
||||
}
|
||||
@@ -36,3 +36,5 @@ spring.data.mongodb.authentication-database=admin
|
||||
spring.data.mongodb.username=admin
|
||||
spring.data.mongodb.password=admin
|
||||
spring.data.mongodb.database=microservices
|
||||
|
||||
springdoc.swagger-ui.path=/swagger-ui.html
|
||||
|
||||
Reference in New Issue
Block a user