Ajout d'une liste de tickets

This commit is contained in:
2025-07-04 09:00:12 +00:00
parent 70955573e8
commit 11698a52e3
11 changed files with 628 additions and 9 deletions

View File

@@ -1,5 +1,10 @@
components:
schemas:
TicketSimple:
type: object
properties:
id:
type: integer
Motive:
type: object
properties:
@@ -44,6 +49,40 @@ paths:
responses:
200:
description: "OK"
/1.0/ticket/ticket/list:
get:
tags:
- ticket
summary: List of tickets
parameters:
- name: byPerson
in: query
description: the id of the person
required: false
style: form
explode: false
schema:
type: array
items:
type: integer
format: integer
minimum: 1
responses:
200:
description: OK
content:
application/json:
schema:
allOf:
- $ref: '#components/schemas/Collection'
- type: object
properties:
results:
type: array
items:
$ref: '#component/schema/TicketSimple'
/1.0/ticket/motive.json:
get:
tags: