forked from Yara724/api
lookup for driving licence type added + the new endpoint documented
This commit is contained in:
@@ -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" },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user