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": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/CreateShiftCodesDto" "$ref": "#/components/schemas/CreateShiftCodeDto"
} }
} }
} }
@ -931,7 +931,7 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/UpdateShiftCodesDto" "$ref": "#/components/schemas/UpdateShiftCodeDto"
} }
} }
} }
@ -2043,7 +2043,7 @@
} }
} }
}, },
"CreateShiftCodesDto": { "CreateShiftCodeDto": {
"type": "object", "type": "object",
"properties": { "properties": {
"shift_type": { "shift_type": {
@ -2087,7 +2087,7 @@
"bank_code" "bank_code"
] ]
}, },
"UpdateShiftCodesDto": { "UpdateShiftCodeDto": {
"type": "object", "type": "object",
"properties": { "properties": {
"shift_type": { "shift_type": {
@ -2132,6 +2132,11 @@
"type": "string", "type": "string",
"example": "17:00", "example": "17:00",
"description": "End time of the said shift" "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": [ "required": [
@ -2139,7 +2144,8 @@
"shift_code_id", "shift_code_id",
"date", "date",
"start_time", "start_time",
"end_time" "end_time",
"description"
] ]
}, },
"ShiftEntity": { "ShiftEntity": {
@ -2218,6 +2224,11 @@
"type": "string", "type": "string",
"example": "17:00", "example": "17:00",
"description": "End time of the said shift" "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 { CustomersModule } from './modules/customers/customers.module';
import { EmployeesModule } from './modules/employees/employees.module'; import { EmployeesModule } from './modules/employees/employees.module';
import { LeaveRequestsModule } from './modules/leave-requests/leave-requests.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 { ShiftsModule } from './modules/shifts/shifts.module';
import { TimesheetsModule } from './modules/timesheets/timesheets.module'; import { TimesheetsModule } from './modules/timesheets/timesheets.module';
import { AuthenticationModule } from './modules/authentication/auth.module'; import { AuthenticationModule } from './modules/authentication/auth.module';
@ -23,7 +23,7 @@ import { AuthenticationModule } from './modules/authentication/auth.module';
CustomersModule, CustomersModule,
EmployeesModule, EmployeesModule,
LeaveRequestsModule, LeaveRequestsModule,
ShiftCodeModule, ShiftCodesModule,
ShiftsModule, ShiftsModule,
TimesheetsModule, TimesheetsModule,
AuthenticationModule, AuthenticationModule,