mirror of
https://github.com/valitydev/swag-fraudbusters-management.git
synced 2024-11-06 08:15:21 +00:00
Fix wb lists
This commit is contained in:
parent
a856e5d3ac
commit
2fa2745fcd
11
openapi/components/responses/WbListRecordsResponse.yaml
Normal file
11
openapi/components/responses/WbListRecordsResponse.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
type: object
|
||||
required:
|
||||
- result
|
||||
properties:
|
||||
count:
|
||||
type: integer
|
||||
format: int32
|
||||
result:
|
||||
type: array
|
||||
items:
|
||||
$ref: '../schemas/WbListRecord.yaml'
|
26
openapi/components/schemas/WbListRecord.yaml
Normal file
26
openapi/components/schemas/WbListRecord.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
type: object
|
||||
properties:
|
||||
groupId:
|
||||
type: string
|
||||
insertTime:
|
||||
type: string
|
||||
format: date-time
|
||||
createdByUser:
|
||||
type: string
|
||||
listName:
|
||||
type: string
|
||||
partyId:
|
||||
type: string
|
||||
shopId:
|
||||
type: string
|
||||
rowInfo:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
listType:
|
||||
type: string
|
||||
enum:
|
||||
- white
|
||||
- black
|
||||
- grey
|
||||
- naming
|
@ -36,7 +36,7 @@ get:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '../../../components/responses/ListResponse.yaml'
|
||||
$ref: '../../../components/responses/WbListRecordsResponse.yaml'
|
||||
'401':
|
||||
description: Unauthorized
|
||||
'403':
|
||||
|
Loading…
Reference in New Issue
Block a user