Skip to content

Commit

Permalink
Spring Doc. swagger added.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlperMulayim committed Sep 9, 2023
1 parent 2104222 commit a34e7b2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions leasesoft/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,19 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>

<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.0.2</version>
</dependency>


</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
public class LeasesoftApplication {

Expand Down
2 changes: 1 addition & 1 deletion leasesoft/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ spring:
jpa:
hibernate.ddl-auto: validate
generate-ddl: true
show-sql: true
show-sql: true

0 comments on commit a34e7b2

Please sign in to comment.