openapi: include total count in list requests
This commit is contained in:
parent
220ea84e22
commit
e28c7e8149
36
openapi.yaml
36
openapi.yaml
@ -191,9 +191,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: array
|
$ref: "#/components/schemas/Mapfixes"
|
||||||
items:
|
|
||||||
$ref: "#/components/schemas/Mapfix"
|
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
content:
|
content:
|
||||||
@ -508,9 +506,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
type: array
|
$ref: "#/components/schemas/Submissions"
|
||||||
items:
|
|
||||||
$ref: "#/components/schemas/Submission"
|
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
content:
|
content:
|
||||||
@ -1276,6 +1272,20 @@ components:
|
|||||||
StatusMessage:
|
StatusMessage:
|
||||||
type: string
|
type: string
|
||||||
maxLength: 256
|
maxLength: 256
|
||||||
|
Mapfixes:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- Total
|
||||||
|
- Mapfixes
|
||||||
|
properties:
|
||||||
|
Total:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
minimum: 0
|
||||||
|
Mapfixes:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/Mapfix"
|
||||||
MapfixTriggerCreate:
|
MapfixTriggerCreate:
|
||||||
required:
|
required:
|
||||||
- AssetID
|
- AssetID
|
||||||
@ -1396,6 +1406,20 @@ components:
|
|||||||
StatusMessage:
|
StatusMessage:
|
||||||
type: string
|
type: string
|
||||||
maxLength: 256
|
maxLength: 256
|
||||||
|
Submissions:
|
||||||
|
required:
|
||||||
|
- Total
|
||||||
|
- Submissions
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
Total:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
|
minimum: 0
|
||||||
|
Submissions:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/Submission"
|
||||||
SubmissionTriggerCreate:
|
SubmissionTriggerCreate:
|
||||||
required:
|
required:
|
||||||
- AssetID
|
- AssetID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user