반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 쉬운 문제
- 프로그래머스
- BFS
- 자바스크립트
- 알고리즘
- Algorithm
- typescript
- 프로그래머스 레벨 2
- HTTP
- 레벨 1
- 수학
- 문자열
- 그래프
- HTTP 완벽 가이드
- 타입 챌린지
- 소켓
- 타입스크립트
- ip
- dp
- Crawling
- javascript
- socket
- dfs
- Nestjs
- TCP
- 크롤링
- 백준
- 가천대
- type challenge
- Node.js
Archives
- Today
- Total
목록Decorator (1)
kakasoo
NestJS 스웨거에서 에러 스키마 작성하기
import { SchemaObject } from '@nestjs/swagger/dist/interfaces/open-api-spec.interface'; export const ERROR = { ALREADY_CREATED_EMAIL: { code: 4001, message: '이미 생성된 이메일입니다.' }, NO_AUTH_TOKEN: { code: 4002, message: '인증이 필요합니다.' }, IS_SAME_POSITION: { code: 4003, message: '이미지의 정렬 값이 동일한 경우가 존재합니다.' }, } as const; type KeyOfError = keyof typeof ERROR; type ValueOfError = (typeof ERROR)[KeyOfError..
프로그래밍/NestJS
2023. 1. 31. 01:13