openapi: support standard http error codes

API errors are now handled at the end of the request heap by
throwing exceptions from the handler
This commit is contained in:
Viljami Kuosmanen 2020-04-01 18:18:02 +02:00 committed by muxator
parent 3742fdfb04
commit ccf406708e
5 changed files with 111 additions and 48 deletions

View file

@ -44,6 +44,7 @@
"find-root": "1.1.0",
"formidable": "1.2.1",
"graceful-fs": "4.2.2",
"http-errors": "^1.7.3",
"jsonminify": "0.4.1",
"languages4translatewiki": "0.1.3",
"lodash.clonedeep": "^4.5.0",