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