replikativ / datahike-server

Datahike remote system
Eclipse Public License 2.0
36 stars 6 forks source link

REST API should have specs for responses #44

Closed kordano closed 10 months ago

kordano commented 2 years ago

The data model for the api responses should be specified with clojure.spec both for validation and documentation

TimoKramer commented 1 year ago

question is, what to do on fail? If it's only about swagger we could make the server spec-first with navi to give consumers the specification of our answers.