일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 자바
- JavaScript
- 다독
- 지혜를가진흑곰
- 투자
- 화장품
- 서평
- algorithmtraining
- algorithmTest
- 프로그래머스 알고리즘 공부
- 책알남
- 독서
- 주식
- 자바스크립트
- 알고리즘트레이닝
- Java
- C
- 알고리즘 공부
- 백준알고리즘
- 채권
- algorithmStudy
- 경제
- C++
- 성분
- 독후감
- 돈
- 알고리즘공부
- 재테크
- 프로그래밍언어
- 책을알려주는남자
Archives
- Today
- Total
반응형
목록must be a string conforming to the specified constraints (1)
탁월함은 어떻게 나오는가?

Nestjs에서 Swagger를 사용하는데 base.offset.pagination.intput.dto에 어노테이션을 선언을 해도 지속적으로 에러가 발생했다. 기존의 많은 프로젝트에도 똑같이 적용하고 잘됬던 코드라 많이 의아했다. 문제의 코드 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 export class BaseOffsetPaginationInputDto { @IsNumber() @ApiProperty({ type: Number, required: true, default: 1, }) public readonly page!: number; // 리스트 행 개수 @IsNumber() @ApiProperty({ type: Number, required: true..
[Snow-ball]server/NestJS
2023. 9. 7. 19:05
반응형