listDaily 쿼리 조건 추가
This commit is contained in:
11
api/main.tsp
11
api/main.tsp
@@ -62,7 +62,16 @@ model Error {
|
||||
interface Forecasts {
|
||||
@get
|
||||
@route("/daily")
|
||||
listDaily(): {
|
||||
@doc("일일 날씨 예보 목록을 조회합니다.")
|
||||
listDaily(
|
||||
@query
|
||||
@doc("타임존 (기본값: Asia/Seoul)")
|
||||
timezone?: string,
|
||||
|
||||
@query
|
||||
@doc("현재 시간 (기본값: 현재 시간)")
|
||||
now?: offsetDateTime,
|
||||
): {
|
||||
@statusCode statusCode: 200;
|
||||
@body body: DailyForecastList;
|
||||
} | {
|
||||
|
||||
Reference in New Issue
Block a user