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

fix: フォームの一覧を取得するエンドポイントのoffset、limitの指定を任意にする #143

Merged
merged 1 commit into from
Jun 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions endpoints/forms.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ namespace Forms {
@summary("フォームの一覧取得")
op list(
@doc("取得件数の下限値 例えば、offsetを1とすると2件目からのデータが取得できます。")
@minValue(0)
@query
offset: uint32,
offset?: uint32,

@doc("取得件数の上限値 例えば、limitを10とすると10番目までのデータが取得できます。")
@minValue(1)
@query
limit: uint32,
limit?: uint32,
): {
@statusCode statusCode: 200;
@body body: MinimalForm[];
Expand Down