Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
OpenAPI定義に基づき、各エンドポイントおよび関連するモデルを新規追加し、既存のサンプルモデルを削除しています。
- 各種エンドポイント(/areas、/brands、/breweries、/rankings、/flavor-charts、/flavor-tags、/brand-flavor-tags)の追加
- ランキング、フレーバー、銘柄、蔵元、地域などのモデル追加
- サンプルモデル(model.tsp)の削除
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/route.tsp | 新エンドポイントの追加と各モデルの参照 |
| src/models/ranking.tsp | ランキング関連モデル(ランキング項目、地域ランキング)の追加 |
| src/models/flavor-tag.tsp | フレーバータグモデルの追加 |
| src/models/flavor-chart.tsp | 銘柄ごとのフレーバーチャートモデルの追加 |
| src/models/copyright.tsp | 著作権情報モデルの追加 |
| src/models/brewery.tsp | 蔵元モデルの追加 |
| src/models/brand.tsp | 銘柄モデルの追加 |
| src/models/brand-flavor-tag.tsp | 銘柄ごとのフレーバータグモデルの追加 |
| src/models/area.tsp | 地域モデル(都道府県)の追加 |
| src/model.tsp | サンプルモデルの削除 |
Comments suppressed due to low confidence (1)
src/route.tsp:69
- [nitpick] 返却値が配列であることを明示するため、プロパティ名を 'flavorCharts' とするほうが分かりやすくなるかもしれません。
flavorChart: FlavorChartModel[];
imoken777
approved these changes
Jun 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
https://muro.sakenowa.com/sakenowa-data
このドキュメントに従ってOpenAPIの定義を追加しました