feat: добавление новых свойств для деталей автомобиля в документацию Swagger - расширены описания для make, model, year, body, engine, cylinders и drive для улучшения понимания API

This commit is contained in:
Vlad 2025-04-20 12:11:11 +03:00
parent ba3187b5ff
commit db80e6088b

View File

@ -44,6 +44,28 @@ paths:
details:
type: object
description: Vehicle details
properties:
make:
type: string
description: Vehicle manufacturer
model:
type: string
description: Vehicle model
year:
type: integer
description: Manufacturing year
body:
type: string
description: Vehicle body type
engine:
type: string
description: Engine model
cylinders:
type: string
description: Number of engine cylinders
drive:
type: string
description: Drive type (FWD/RWD/AWD)
'400':
description: Invalid VIN or access code
content: