fix: support nullable end times on timesheet creation
See https://github.com/kimai/kimai/issues/3720
This commit is contained in:
parent
fb987ec70c
commit
adcc0c7317
3
doc.json
3
doc.json
@ -4231,7 +4231,8 @@
|
|||||||
"end": {
|
"end": {
|
||||||
"example": "2023-01-14T05:12:43",
|
"example": "2023-01-14T05:12:43",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date-time"
|
"format": "date-time",
|
||||||
|
"x-nullable": true
|
||||||
},
|
},
|
||||||
"project": {
|
"project": {
|
||||||
"description": "Project ID",
|
"description": "Project ID",
|
||||||
|
@ -38,7 +38,7 @@ type TimesheetEditForm struct {
|
|||||||
// end
|
// end
|
||||||
// Example: 2023-01-14T05:12:43
|
// Example: 2023-01-14T05:12:43
|
||||||
// Format: date-time
|
// Format: date-time
|
||||||
End strfmt.DateTime `json:"end,omitempty"`
|
End *strfmt.DateTime `json:"end,omitempty"`
|
||||||
|
|
||||||
// exported
|
// exported
|
||||||
Exported bool `json:"exported,omitempty"`
|
Exported bool `json:"exported,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user