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 |
Tags
- useSWRImmutable
- useState
- svgr/cli
- github login
- flutter
- Tailwind CSS
- python
- npm library
- React
- npm module
- es module
- useCallback()
- openapi-generator
- 웹 디자인
- svg style
- nextauth
- Lottie web
- .vscode
- NEXT
- openapi-generator-cli
- 마이크 권한 요청
- openapitools.json
- npm publish
- useSwr
- typescript-axios
- next.js
- window.scrollY
- 동적 디자인
- 웹 애니메이션
- typescript
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