feat: добавление новых свойств для деталей автомобиля в документацию Swagger - расширены описания для make, model, year, body, engine, cylinders и drive для улучшения понимания API
This commit is contained in:
parent
ba3187b5ff
commit
db80e6088b
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user