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 #4

Merged
merged 10 commits into from
Oct 23, 2024

Conversation

imoken777
Copy link
Contributor

  • common/に共通のクラス、エラーを記述
  • airplane/index.tspに航空機APIを記述
  • train/index.tspを枠組みとして追加
  • 複数のopenapiが作成されるようになった→openapi.${namespace}.yaml
  • redocly.yamlは不要だったため削除
  • 開発時のdocは一つしか立ち上げられないため選択できるようにスクリプト変更
  pnpm dev

新 NAME=のところは出力ファイルのopenapi.AirplaneAPI.yamlのAirplaneAPIの部分を指定する

  NAME=AireplaneAPI pnpm dev

@imoken777 imoken777 requested a review from mst-mkt October 23, 2024 15:16
@imoken777 imoken777 self-assigned this Oct 23, 2024
@imoken777 imoken777 force-pushed the feat/framework_and_airplane branch from 4e5148c to 53f1bf6 Compare October 23, 2024 15:19
@mst-mkt
Copy link
Contributor

mst-mkt commented Oct 23, 2024

これdev動かすときNAME指定しないとどうなる?

@imoken777
Copy link
Contributor Author

指定しないとエラー吐く
いいやり方が思いつかんかった

@mst-mkt mst-mkt merged commit 706bddf into main Oct 23, 2024
1 check passed
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.

2 participants