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

Improve error message for missing @RequestParameter

khorsky opened this issue · comments

Problem:
Forgotten @RequestParameter annotation for any parameter

Current behavior:
Message Mask parameter "foo" is not defined as @RequestParameter(in=path), developer has to check, where he has forgotten to add the annotation

Expected behavior:
Mention currently parsed controller in the message.