contributte / apitte

:wrench: An opinionated and enjoyable API framework based on Nette Framework. Supporting content negotiation, debugging, middlewares, attributes, annotations and loving openapi/swagger.

Home Page:https://contributte.org/packages/contributte/apitte/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Returns 500 when creating an entity

miranovy opened this issue · comments

Apitte returns a status code of 500 when attempting to create an entity from a request that is not valid.

The expected behavior is that it returns a status code of 400.

Hey ✋ Feel free to prepare a PR.