Open razvanphp opened 10 years ago
Can you give me an example markdown of one of the endpoints that gives you these notices and warnings?
Hi @razvanphp, can you update (e.g. blueman self-update
) to the latest version (v1.1.3) and check if this problem is solved for you?
Hey @kielabokkie, now some of the errors are gone, but we still get this one:
PHP Notice: Trying to get property of non-object in phar:///usr/local/bin/blueman/vendor/pixelfusion/blueman/src/Blueman/Console/Command/ConvertCommand.php on line 198
Thanks for the support!
Hi @razvanphp, if you can give me an example markdown file with the endpoint that fails then that would be great so I can test it.
Hey @kielabokkie, here it is, sorry for the delay.
Thanks @razvanphp, I see what the issue is now. This error occurs when your endpoint has query parameters but you haven't described those under the parameters part of your API blueprint.
I think I will make it so it shows a nice warning telling you what parameters haven't been described for which endpoint so you can update your documentation (as it is important to document those too ;)).
Hello,
For some of our endpoints we get those errors:
Do you have any clue why? In any case, your code should initialize the variable so the notice is avoided.