Slide 9
Slide 9 text
Available parts
parameters: [
'carType' => new QueryParameter(
description:
'TecDoc vehicle type of the carId: PC (default) or CV',
schema: [
'type' => 'string', 'enum' => ['PC', 'CV'],
'default' => 'PC',
],
constraints: [
new Assert\Choice(choices: ['PC', 'CV']),
],
),
],