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