Skip to content

Commit

Permalink
Swagger 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
gidskql6671 committed May 28, 2024
1 parent 22aadbc commit 3ada0f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package knu.dong.onedayonebaek.github.controller

import io.swagger.v3.oas.annotations.Hidden
import knu.dong.onedayonebaek.common.exception.NotFoundException
import knu.dong.onedayonebaek.github.dto.CommitWebhookRequest
import knu.dong.onedayonebaek.problem.service.ProblemService
Expand All @@ -9,6 +10,7 @@ import org.springframework.web.bind.annotation.*

@RestController
@RequestMapping("/github/webhook")
@Hidden
class GithubWebhookController(
private val userService: UserService,
private val problemService: ProblemService
Expand Down
3 changes: 3 additions & 0 deletions back/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spring:
springdoc:
default-consumes-media-type: application/json
default-produces-media-type: application/json
swagger-ui:
operations-sorter : method
tags-sorter: alpha
server:
port: 8080

0 comments on commit 3ada0f8

Please sign in to comment.