rik
rik copied to clipboard
Homogeneous API handling
What needs to be done ?
- API Response type shouldn't be copy / pasted between all methods but should use an abstract that handle it
- Abstract should be able to have an object an input that is serialized into json
- It should handle serialization failure by returning a 503
Why it needs to be done ?
- beautify API handling