Add Motive API and related fixtures to ChillTicketBundle

This update introduces the Motive API Controller to the ChillTicket bundle with its corresponding service configuration. Also included are related data fixtures for loading motive information. The motive entity has been updated to improve its serialization properties and new types were added to the TypeScript definitions of the bundle.
This commit is contained in:
2024-04-17 12:51:31 +02:00
parent ecdc1e25bf
commit 71a3a1924a
7 changed files with 187 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
components:
schemas:
Motive:
type: object
properties:
id:
type: integer
label:
type: object
additionalProperties:
type: string
example:
fr: Retard de livraison
active:
type: boolean
paths:
/1.0/ticket/motive.json:
get:
tags:
- ticket
summary: A list of available ticket's motive
responses:
200:
description: "OK"