Implements /transactions POST method #19

Merged
satprog merged 1 commits from feature/18-transactions-post into main 2024-06-29 09:54:02 +00:00

1 Commits

Author SHA1 Message Date
4c82ca0e2b
Implements /transactions POST method
It adds the method to the OpenAPI spec and generates a new server
config. The requirement for the ID on the Transaction component is
removed, so that it can be reused for insertions.
It also adds two new middlewares, a logging and a spec validator. If a
request does not follow the spec, a 400 is returned immediately.

Issue: #18
2024-06-22 20:11:52 +01:00