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
- openapi-generator
- React
- svgr/cli
- Tanstack Query
- python
- NEXT
- refreshaccesstokenerror
- nextauth
- trustHost
- typescript
- flutter
- .vscode
- next auth
- useSWRImmutable
- typescript-axios
- openapi-generator-cli
- useState
- npm library
- auth.js
- npm module
- openapitools.json
- window.scrollY
- refresh token race condition
- 웹 디자인
- next/script
- next.js
- npm publish
- 폰트 최적화
- refetchInterval
- es module
Archives
- Today
- Total
목록typescript-axios (1)
김재욱의 이모저모
Openapi-generator-cli 활용하여 api 코드 생성하기
백엔드로 부터 api를 받아오기 위하여 swagger명세서를 활용하여 자동으로 api를 활용할 수 있도록 코드를 생성해주는 openapi-generator-cli를 활용하여 typescript-axios 방식으로 코드를 생성하였다. 활용법이나 자세한 설명들이 많이 없었어서 밑에는 내가 코딩하면서 참고했던 자료들을 통해 내가 한 방법을 작성해봤다.OpenAPI Generator CLI로 typescript-axios 사용기: 결과물과 활용법 중심으로🔧 사용한 명령어 및 설정🔹 openapitools.json 설정 예시{ "$schema": "https://raw.githubusercontent.com/OpenAPITools/openapi-generator-cli/refs/heads/master/app..
Front-end
2025. 7. 29. 14:26