wo_dbs
close
프로필 배경
프로필 로고

wo_dbs

  • 분류 전체보기 (273)
    • 프로젝트 (35)
      • Where42 (14)
      • kkrap (21)
    • 개발 지식 (86)
      • 인프라 (3)
      • GIt (1)
      • CS (5)
      • OS (5)
      • KSUG (40)
      • C++ (21)
      • Spring boot (5)
      • java (0)
      • Database && SQL (2)
      • Algorithm (4)
    • 객체지향 (24)
      • C++ 객체지향 (24)
    • 외부 활동 및 교육 (117)
      • 42Seoul (114)
      • 인턴 (3)
    • 나의 일기 및 회고록 (5)
      • 회고 (2)
      • 자격증 (3)
    • 기타 (3)
  • 홈
  • Github
[KSUG Spring Boot Study] REST API 명세 문서화

[KSUG Spring Boot Study] REST API 명세 문서화

API 개발 과정에서 계속 변경되므로 작성한 명세 문서도 주기적인 업데이트 필요Swagger라는 오픈소스 프로젝트를 넣어보자Swaggerpom.xml 파일 의존성 추가 org.springdoc springdoc-openapi-starter-webmvc-ui 2.6.0 config 폴더 만들어서 SwaggerConfiguration 넣기import io.swagger.v3.oas.models.Components;import io.swagger.v3.oas.models.OpenAPI;import io.swagger.v3.oas.models.info.Info;import org.springframework.context.annotation.Bean;import org.springframewor..

  • format_list_bulleted 개발 지식/KSUG
  • · 2025. 8. 14.
  • textsms
[KSUG Spring Boot Study] DELETE API 만들기

[KSUG Spring Boot Study] DELETE API 만들기

@PathVariable, @RequestParam // {String 값} @DeleteMapping(value = "/{variable}") public String DeleteVariable(@PathVariable String variable) { return variable; } // @DeleteMapping(value = "/request1") public String getRequestParam1(@RequestParam String email) { return "e-mail : " + email; }

  • format_list_bulleted 개발 지식/KSUG
  • · 2025. 8. 14.
  • textsms
[KSUG Spring Boot Study] PUT API 만들기

[KSUG Spring Boot Study] PUT API 만들기

import com.springboot.api.dto.MemberDto;import java.util.Map;import org.springframework.http.HttpStatus;import org.springframework.http.ResponseEntity;import org.springframework.web.bind.annotation.PutMapping;import org.springframework.web.bind.annotation.RequestBody;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestController;@RestC..

  • format_list_bulleted 개발 지식/KSUG
  • · 2025. 8. 14.
  • textsms
[KSUG Spring Boot Study] POST API 만들기

[KSUG Spring Boot Study] POST API 만들기

@RequestMapping 구현POST API는 DB 등이 저장소에 리소스를 저장할 때 사용되는 APIGET API에서는 URL의 경로나 파라미터에 변수를 넣어 요청을 보냈지만 POST API에서는 저장하고자 하는 리소스나 값을 HTTP body에 담아 서버에 전달import com.springboot.api.dto.MemberDto;import java.util.Map;import org.springframework.web.bind.annotation.PostMapping;import org.springframework.web.bind.annotation.RequestBody;import org.springframework.web.bind.annotation.RequestMapping;import o..

  • format_list_bulleted 개발 지식/KSUG
  • · 2025. 8. 14.
  • textsms
[KSUG Spring Boot Study] GET API 만들기

[KSUG Spring Boot Study] GET API 만들기

https://start.spring.io/여기서 Spring boot 간단하게 시작 @RequestMapping 구현import org.springframework.web.bind.annotation.RequestMapping;@RestController@RequestMapping("/api/v1/get-api")public class GetController { }RequestMapping 애너테이션을 별다른 설정 없이 선언하면 HTTP의 모든 요청을 받는다.그러나 GET 형식의 요청만 받기 위해서 애너테이션에 별도 설정이 필요import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.we..

  • format_list_bulleted 개발 지식/KSUG
  • · 2025. 8. 14.
  • textsms
[KSUG Spring Boot Study] API를 작성하는 다양한 방법을 공부하기 전 큰 틀

[KSUG Spring Boot Study] API를 작성하는 다양한 방법을 공부하기 전 큰 틀

메모가 붙은 부분은 추가적으로 내가 공부한 것이다!

  • format_list_bulleted 개발 지식/KSUG
  • · 2025. 8. 14.
  • textsms
  • navigate_before
  • 1
  • ···
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • ···
  • 46
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (273)
    • 프로젝트 (35)
      • Where42 (14)
      • kkrap (21)
    • 개발 지식 (86)
      • 인프라 (3)
      • GIt (1)
      • CS (5)
      • OS (5)
      • KSUG (40)
      • C++ (21)
      • Spring boot (5)
      • java (0)
      • Database && SQL (2)
      • Algorithm (4)
    • 객체지향 (24)
      • C++ 객체지향 (24)
    • 외부 활동 및 교육 (117)
      • 42Seoul (114)
      • 인턴 (3)
    • 나의 일기 및 회고록 (5)
      • 회고 (2)
      • 자격증 (3)
    • 기타 (3)
전체 방문자
오늘
어제
전체
인기 글
최근 글
최근 댓글
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바