Closed pate313373 closed 2 years ago
@pate313373 When I enter your code on https://editor.swagger.io/ I get validation errors.
When I do this with my code I don't get validation errors but I'm still running into the same problem as you with this lib, unfortunately.
I found the reason for my error message: the file simply did not exist at the path defined in apiDoc
.
Could the devs please add a single if to give a better error message like The path ... specified in apiDoc does not exist
?
@pate313373 When I enter your code on https://editor.swagger.io/ I get validation errors.
When I do this with my code I don't get validation errors but I'm still running into the same problem as you with this lib, unfortunately.
Thx tricoos! I created the definition with Postman, that's why I thought it must be correct...
can this be closed?
Sure, thx. However, more verbose error output would be highly appreciated
@pate313373 please feel free to submit a PR!
Hi,
I'd really like to give open-api for express a chance. - The concept is very cool!
My code is this:
However, when I try to run my .yaml I run into the following error:
I can confirm, that my .yaml file is valid:
I'm wondering if there's a way to get a more verbose output to understand why the initialization fails.
Kind regards