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

oapi-codegenの導入 #896

Merged
merged 21 commits into from
Dec 25, 2024
Merged

oapi-codegenの導入 #896

merged 21 commits into from
Dec 25, 2024

Conversation

hikahana
Copy link
Collaborator

@hikahana hikahana commented Dec 3, 2024

対応Issue

resolve #0
なし

概要

oapi-codegenを導入中
自動生成はできるがまだ使わない。

swagger-ui、openapiを現状のapiから切り離し独立したものへ移動。
swagger-uiはコンテナを作成した。
openapiはルートディレクトリに移動した。

画面スクリーンショット等

  • URL
    スクリーンショット

テスト項目

  • make run-all でも通常通りにコンテナを立ててmake run-swaggerでswager-uiを起動する。
  • localhost:8000でswaggerが機能しているか。動作は正常か。

備考

openapi.yamlをそのままswagger.yamlに命名修正してswagger-uiに使っています。

@hikahana hikahana self-assigned this Dec 3, 2024
@github-actions github-actions bot added the bug Something isn't working label Dec 3, 2024
Copy link
Collaborator

@Kubosaka Kubosaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

  • yamlをルートディレクトリ./openapiに移動
  • apiコンテナに./openapiのボリュームをマウント

@hikahana hikahana marked this pull request as ready for review December 23, 2024 17:05
@Kubosaka Kubosaka merged commit 50d4302 into develop Dec 25, 2024
1 check passed
@Kubosaka Kubosaka deleted the fix/hikahana/convert-opai-codegen branch December 25, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants