lookup for driving licence type added + the new endpoint documented

This commit is contained in:
2026-08-09 10:24:00 +03:30
parent a03d557718
commit 448e5fb9ba
3 changed files with 75 additions and 11 deletions

View File

@@ -79,12 +79,22 @@ export class LookupsController {
}
@Get("driving-licence-types")
@ApiOperation({
summary: "Fanavaran driving licence types lookup",
description:
"Returns licence type codes from car/base-info/driving-licence-types (BaseURL/Api/BimeApi/v2.0/...). Used for GEN culprit licence type selection.",
})
@ApiOkResponse({
description: "Returns driving licence types lookup data",
schema: {
type: "array",
items: {
type: "object",
properties: {
Caption: { type: "string" },
Id: { type: "number" },
IsActive: { type: "number" },
},
},
},
})