Skip to content

Commit

Permalink
Merge pull request #266 from Roger13579/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Roger13579 authored Jun 22, 2024
2 parents 604bea8 + f1c188c commit ac2bbc0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/routes/groupRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,15 @@ export class GroupRoute extends BaseRoute {
$ref: "#/definitions/CustomGetGroupMovieTitleQuery"
}
}
#swagger.parameters['theater'] = {
in: 'query',
required: false,
description: '精準搜尋:電影院名稱',
type: 'string',
schema:{
$ref: "#/definitions/CustomGetGroupTheaterQuery"
}
}
#swagger.parameters['status'] = {
in: 'query',
required: false,
Expand Down
3 changes: 3 additions & 0 deletions src/swagger/definition/group/custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ export const CustomGetGroupTitleQuery = {
export const CustomGetGroupMovieTitleQuery = {
example: 'movie',
};
export const CustomGetGroupTheaterQuery = {
example: '京站威秀',
};
export const CustomGetGroupStatusQuery = {
example: 'ongoing',
};
Expand Down

0 comments on commit ac2bbc0

Please sign in to comment.