Skip to content

Commit

Permalink
Added Swagger for the REST APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudarvishian committed May 10, 2024
1 parent ea04e03 commit 70f9050
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ dependencies {
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-actuator'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-aop'
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web'
implementation 'org.springdoc:springdoc-openapi-ui:1.8.0'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-aop'
compile group: 'io.micrometer', name: 'micrometer-registry-prometheus'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.time.LocalDate;
import java.util.UUID;

@Controller
@RestController
@RequestMapping(path = "/job")
@RequiredArgsConstructor
public class JobController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.UUID;
import java.util.stream.Collectors;

@Controller
@RestController
@RequestMapping(path = "/shift")
@RequiredArgsConstructor
public class ShiftController {
Expand Down

0 comments on commit 70f9050

Please sign in to comment.