Skip to content

Commit

Permalink
Merge pull request #24 from sipe-team/swagger
Browse files Browse the repository at this point in the history
feat(kwj1270): Swagger 관련 태그 추가
  • Loading branch information
kwj1270 authored Jan 18, 2025
2 parents d76ac77 + 273239c commit 718c3a5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.sipe.office.modules.activity.api;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
Expand All @@ -11,6 +12,7 @@

import java.util.List;

@Tag(name = "활동")
@RestController
@RequiredArgsConstructor
@RequestMapping("/api")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.sipe.office.modules.admin.api;

import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.servlet.http.HttpSession;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
Expand All @@ -10,6 +11,7 @@
import team.sipe.office.modules.admin.application.AdminAuthService;
import team.sipe.office.modules.admin.domain.Admin;

@Tag(name = "관리자")
@RequestMapping("/api/admin/auth")
@RestController
public class AdminAuthApi {
Expand Down
19 changes: 0 additions & 19 deletions src/main/java/team/sipe/office/modules/admin/api/TestApi.java

This file was deleted.

2 changes: 2 additions & 0 deletions src/main/java/team/sipe/office/modules/faq/api/FaqApi.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.sipe.office.modules.faq.api;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import team.sipe.office.modules.faq.api.dto.FaqFindAllResponse;
Expand All @@ -8,6 +9,7 @@
import team.sipe.office.modules.faq.appplication.FaqService;
import team.sipe.office.modules.faq.infrastructure.persistence.FaqDao;

@Tag(name = "FAQ")
@RequestMapping("/api/faqs")
@RestController
public class FaqApi {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.sipe.office.modules.member.api;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
Expand All @@ -14,6 +15,7 @@

import java.util.List;

@Tag(name = "회원")
@RestController
@RequestMapping("/api")
@RequiredArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.sipe.office.modules.recruit.api;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import team.sipe.office.modules.recruit.api.dto.requirements.*;
Expand All @@ -10,6 +11,7 @@
import java.net.URI;
import java.util.List;

@Tag(name = "지원")
@RequestMapping("/api/recruit/requirement")
@RestController
public class RecruitRequirementApi {
Expand Down

0 comments on commit 718c3a5

Please sign in to comment.