fix(typo): small typo fix

This commit is contained in:
Matthieu Haineault 2025-07-24 10:05:36 -04:00
parent 1ee7ec9052
commit 1987ed968c
2 changed files with 18 additions and 7 deletions

View File

@ -814,7 +814,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateShiftCodesDto"
"$ref": "#/components/schemas/CreateShiftCodeDto"
}
}
}
@ -931,7 +931,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateShiftCodesDto"
"$ref": "#/components/schemas/UpdateShiftCodeDto"
}
}
}
@ -2043,7 +2043,7 @@
}
}
},
"CreateShiftCodesDto": {
"CreateShiftCodeDto": {
"type": "object",
"properties": {
"shift_type": {
@ -2087,7 +2087,7 @@
"bank_code"
]
},
"UpdateShiftCodesDto": {
"UpdateShiftCodeDto": {
"type": "object",
"properties": {
"shift_type": {
@ -2132,6 +2132,11 @@
"type": "string",
"example": "17:00",
"description": "End time of the said shift"
},
"description": {
"type": "string",
"example": "Called for an emergency at X` place",
"description": "justify the purpose of the shift"
}
},
"required": [
@ -2139,7 +2144,8 @@
"shift_code_id",
"date",
"start_time",
"end_time"
"end_time",
"description"
]
},
"ShiftEntity": {
@ -2218,6 +2224,11 @@
"type": "string",
"example": "17:00",
"description": "End time of the said shift"
},
"description": {
"type": "string",
"example": "Called for an emergency at X` place",
"description": "justify the purpose of the shift"
}
}
},

View File

@ -9,7 +9,7 @@ import { OauthAccessTokensModule } from './modules/oauth-access-tokens/oauth-acc
import { CustomersModule } from './modules/customers/customers.module';
import { EmployeesModule } from './modules/employees/employees.module';
import { LeaveRequestsModule } from './modules/leave-requests/leave-requests.module';
import { ShiftCodeModule } from './modules/shift-codes/shift-codes.module';
import { ShiftCodesModule } from './modules/shift-codes/shift-codes.module';
import { ShiftsModule } from './modules/shifts/shifts.module';
import { TimesheetsModule } from './modules/timesheets/timesheets.module';
import { AuthenticationModule } from './modules/authentication/auth.module';
@ -23,7 +23,7 @@ import { AuthenticationModule } from './modules/authentication/auth.module';
CustomersModule,
EmployeesModule,
LeaveRequestsModule,
ShiftCodeModule,
ShiftCodesModule,
ShiftsModule,
TimesheetsModule,
AuthenticationModule,