2 Commits

Author SHA1 Message Date
b506a575fa
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-05-27 22:17:06 +01:00
688a9dcaf2
Add DAL interface and mock
Also add entity package with domain types.
2024-04-27 20:42:11 +01:00