1
0
Fork 0
Commit graph

29 commits

Author SHA1 Message Date
ac52934ee7
refactor(main.go): use cobra for cli and move main.go to root dir 2024-04-28 15:14:08 +02:00
9d2e456150
fix(oapi-codegen.yaml): add yaml schema url and fix issues according to schema 2024-04-28 14:50:35 +02:00
14e2ed90ac
refactor(api): replace application/json mime type with application/problem+json for any error / problem detail responses
See: https://datatracker.ietf.org/doc/html/rfc7807#section-6.1
2024-04-28 14:09:22 +02:00
abafbde740
feat: add generated code for rest api 2024-04-27 21:36:29 +02:00
4d1573d284
docs: bump README 2024-04-27 21:33:52 +02:00
00158e89fe
feat: add pkg/training/ with types, structs, and repository interfaces 2024-04-27 21:31:04 +02:00
afe0f18523
chore: add .vscode extensions.json and settings.json 2024-04-27 21:29:58 +02:00
975162ed94
style(.editorconfig): set indent_style=tabs and indent_size=4 2024-04-27 21:28:11 +02:00
21f6e5df72
chore: add .vscode extensions.json and settings.json 2024-04-27 21:27:54 +02:00
bf08fc2e71
refactor(api): default response -> 500, Unexepected error -> Internal error 2024-04-27 21:20:50 +02:00
32038981f6
refactor(api): replace Error schema with ProblemDetails (RFC 7807) 2024-04-27 21:15:49 +02:00
d1c6eb0069
feat: add Makefile for generating go code from openapi schema 2024-04-27 21:11:46 +02:00
f62cf72f67
chore: add oapi-codegen config 2024-04-27 21:11:16 +02:00
04d261bb5d
feat(api): add PUT /trainings/{trainingID}/dates/{dateID} to modify date 2024-04-27 21:10:10 +02:00
87d432dd52
feat(api): use custom types for uuid types 2024-04-27 21:09:38 +02:00
11f610f992
fix(api): Training should ref NewTraining not Training (self) 2024-04-27 21:08:36 +02:00
bf3cd40d9b
feat(api): add company field to trainingdateattendee 2024-03-02 16:36:52 +01:00
667b142aa2
feat(api): add NewTrainingDate component 2024-03-02 16:36:07 +01:00
d1e0607812
feat(openapi): add tags 2024-02-28 21:18:46 +01:00
14587e612f
fix(openapi): move price to component 2024-02-28 21:06:35 +01:00
63cc8628bc
refactor: move app entrypoint to ./cmd/server 2024-02-28 20:59:15 +01:00
bb8e1aceb1
fix(openapi): missing NewTrainingFeedback component and do not use properties when using $ref 2024-02-28 20:53:59 +01:00
f679dff15d
feat: add v1 openapi spec 2024-02-28 20:17:27 +01:00
491eaba395
chore(golang): bump to 1.22.0 2024-02-28 18:51:54 +01:00
cf444de966
ci: change default image to docker:git
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
2024-01-02 19:24:31 +01:00
38e1389976
ci: build and push docker image
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
2024-01-02 19:13:31 +01:00
da0b92c936
chore(build): add Dockerfile
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
2024-01-02 19:01:17 +01:00
5272bfe7ae
chore: add go.sum
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
2024-01-02 19:00:51 +01:00
3d734673ff
feat: initial commit
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
2024-01-02 18:53:38 +01:00