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

BirdXplorer の OpenAPI Spec から API リクエストコードを生成する #10

Merged
merged 5 commits into from
Jan 16, 2025

Conversation

sushichan044
Copy link
Collaborator

Outline

closes #9
orval を用いて BirdXplorer の OpenAPI Spec から tanstack query のコードを生成した。
notes, posts エンドポイントについてはデータに量があり useInfiniteQuery の使用が想定されるので予め設定した。

コード生成に使う OpenAPI Spec は本番環境上の openapi.json を指定している。

@sushichan044 sushichan044 self-assigned this Dec 11, 2024
@sushichan044 sushichan044 force-pushed the feat/gen-api-client-from-spec branch 3 times, most recently from 9cc3811 to 3ca1020 Compare January 6, 2025 10:48
@sushichan044 sushichan044 force-pushed the feat/gen-api-client-from-spec branch from 3ca1020 to 3101870 Compare January 6, 2025 10:51
@sushichan044 sushichan044 force-pushed the feat/gen-api-client-from-spec branch from 3101870 to dba43fd Compare January 16, 2025 10:16
@sushichan044 sushichan044 merged commit 09cf14f into main Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BirdXplorer OpenAPI Spec から API クライアントを生成する
1 participant