mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
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.
26 lines
646 B
YAML
26 lines
646 B
YAML
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"
|