1
0
Fork 0
Commit graph

27 commits

Author SHA1 Message Date
df41b45905
feat(training): add fields published and retired 2024-06-30 15:58:34 +02:00
fe38dd6683
feat(api): add get training by slug endpoint 2024-06-27 09:06:43 +02:00
2d32c80182
feat!: add slug to training
BREAKING CHANGE: update init migration
2024-06-26 22:24:36 +02:00
c3795dba6a
refactor(training): use golang style of naming (do not repeat pacakge name in struct/func names) 2024-06-23 13:13:44 +02:00
370531a9a5
refactor: use serial as id instead of uuid 2024-06-23 12:40:55 +02:00
35a0035fdc
refactor(api): trainingDate.date is using oapi-codegen date type instead of time.Time 2024-05-13 22:19:27 +02:00
62e1ec30b9
fix(api): NewTrainingDate schema no longer has required parameter trainingID (infered from URL instead) 2024-05-13 21:31:12 +02:00
f5e632a46f
feat: add endpoints to update payment and attendance status of training date attendee 2024-05-13 12:55:13 +02:00
17b3c30b51
fix(api): add 404 response to creating attendee 2024-05-12 23:32:31 +02:00
bb0267015c
refactor(api): money amount is string, not number 2024-05-12 23:31:54 +02:00
67f015ec97
feat(api): TrainingDateAttendee: bill, hasPaid, hasAttended are not present when creating attendee 2024-05-11 20:30:21 +02:00
c9c47fbcbf
feat(api): add routes for handling training date attendees 2024-05-07 22:06:14 +02:00
ef1526a1ac
refactor: move currency to money package and add new type Price, refactor api and use price there too 2024-05-05 18:19:56 +02:00
715ce009b1
refactor: /v1/trainings/upcoming-dates sends response with trainingID and list of dates together 2024-05-05 17:49:29 +02:00
97d6532f71
feat(api): add routes to get only upcoming training dates per training and general 2024-05-05 16:24:02 +02:00
9cd3b7d9fe
feat(api): add TrainingDate routes, schemas, responses, parameters, etc. 2024-05-05 15:58:48 +02:00
5d83bb0308
feat(training): add pricing and TrainingPrice with amount, currency and type (open|corporate) 2024-05-05 11:55:33 +02:00
db6ff45c99
fix(api): Training allOf has only two items 2024-05-05 11:27:59 +02:00
d55276886b
feat(training): add Description field 2024-05-05 09:52:04 +02:00
bda8bb9e85
refactor(training): Training.Days is int8 instead of int32 2024-05-05 09:44:56 +02:00
36bf2d3dc9
feat(api): add servers section with local server for testing 2024-05-04 17:40:45 +02:00
92f2460b6b
feat(api): add TrainingID schema 2024-05-04 17:19:30 +02:00
2ca890c66a
feat(api): add description to Trainings tag 2024-05-04 15:02:58 +02:00
67b12fc7af
feat(api): add validation for training.days
- minimum 1
- maximum 5
2024-05-04 15:00:48 +02:00
8ce9378a53
refactor(api): add /v1 prefix to all paths 2024-05-04 15:00:01 +02:00
1413fde9f0
feat(api): add x-go-type and x-go-type-import to openapi spec 2024-05-04 11:46:45 +02:00
ecdf67f371
feat: add openapi spec 2024-05-03 21:58:20 +02:00