Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIクライアント (型定義) をOpenAPIから生成する #5

Closed
3 tasks done
cp-20 opened this issue Feb 18, 2024 · 1 comment
Closed
3 tasks done

APIクライアント (型定義) をOpenAPIから生成する #5

cp-20 opened this issue Feb 18, 2024 · 1 comment
Labels
難易度: 中 🔥重要度: 高 必ず実装すべきIssue

Comments

@cp-20
Copy link
Contributor

cp-20 commented Feb 18, 2024

https://github.com/ajaishankar/openapi-typescript-fetch とか良さそう (他のでも良い)

やること

  • OpenAPI型定義ライブラリ (↑のやつとか) を入れる
  • 型定義を自動生成するscriptを書く (package.jsonscriptsフィールドにgen-apiみたいな名前で追加する)
  • 生成された型を実際に使えるようにするグルーコードを書く
@cp-20
Copy link
Contributor Author

cp-20 commented Feb 25, 2024

closed by #27

@cp-20 cp-20 closed this as completed Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
難易度: 中 🔥重要度: 高 必ず実装すべきIssue
Projects
None yet
Development

No branches or pull requests

1 participant