openapi: include total count in list requests

This commit is contained in:
Quaternions 2025-04-06 14:43:54 -07:00
parent 756973e412
commit acfa319d91
Signed by: Quaternions
GPG Key ID: D0DF5964F79AC131

@ -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