Skip to content

Commit

Permalink
docs: supplement the missing swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
winfredLIN committed Oct 18, 2024
1 parent 1bbd0ce commit 033d7a6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
14 changes: 14 additions & 0 deletions api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,20 @@
"description": "filter project by project id list, using in condition",
"name": "filter_by_project_uids",
"in": "query"
},
{
"enum": [
"high",
"medium",
"low",
"unknown"
],
"type": "string",
"x-go-enum-desc": "high ProjectPriorityHigh\nmedium ProjectPriorityMedium\nlow ProjectPriorityLow\nunknown ProjectPriorityUnknown",
"x-go-name": "FilterByProjectPriority",
"description": "filter project by project priority\nhigh ProjectPriorityHigh\nmedium ProjectPriorityMedium\nlow ProjectPriorityLow\nunknown ProjectPriorityUnknown",
"name": "filter_by_project_priority",
"in": "query"
}
],
"responses": {
Expand Down
20 changes: 20 additions & 0 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5572,6 +5572,26 @@ paths:
name: filter_by_project_uids
type: array
x-go-name: FilterByProjectUids
- description: |-
filter project by project priority
high ProjectPriorityHigh
medium ProjectPriorityMedium
low ProjectPriorityLow
unknown ProjectPriorityUnknown
enum:
- high
- medium
- low
- unknown
in: query
name: filter_by_project_priority
type: string
x-go-enum-desc: |-
high ProjectPriorityHigh
medium ProjectPriorityMedium
low ProjectPriorityLow
unknown ProjectPriorityUnknown
x-go-name: FilterByProjectPriority
responses:
"200":
description: ListProjectReply
Expand Down

0 comments on commit 033d7a6

Please sign in to comment.