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

【ベース】OpenApi Generatorの追加 #74

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Conversation

wasabi-muffin
Copy link
Owner

概要

・OpenApi Generatorを追加した
・必要なtemplateを追加した
・githubのswaggerを追加した
・generateのスクリプトを作った

変更種類

  • フィーチャー実装
  • バッグ修正
  • リファクタ
  • ドキュメンテーション
  • その他()

テスト

  • Unit Test
  • UI Test
  • 動作確認
  • N/A

@wasabi-muffin
Copy link
Owner Author

【ノート】
api.github.com.yaml はGithub提供したもの
ref: https://github.com/github/rest-api-description

@wasabi-muffin
Copy link
Owner Author

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

@wasabi-muffin
Copy link
Owner Author

【ノート】
OpenApiGeneratorはまだOpenApi 3.0対応しきれていない。
ref: OpenAPITools/openapi-generator#9845
ref: OpenAPITools/openapi-generator#634
ref: OpenAPITools/openapi-generator#5600

そのため、anyOfとoneOf使っている箇所は手動で修正した。
上がっているyamlはGithubの一部のAPIしか対応していない。GithubのAPIと一途しないところもあるかもれない。

Base automatically changed from arch/remote-core to develop February 23, 2022 07:49
@wasabi-muffin wasabi-muffin self-assigned this Feb 23, 2022
@wasabi-muffin wasabi-muffin added this to the Day 1 milestone Feb 23, 2022
@wasabi-muffin wasabi-muffin linked an issue Feb 23, 2022 that may be closed by this pull request
@wasabi-muffin wasabi-muffin merged commit ba3ede5 into develop Feb 23, 2022
@wasabi-muffin wasabi-muffin deleted the arch/openapi branch February 23, 2022 07:53
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.

【アーキテクチャを適用】OpenAPI Generatorの追加
1 participant