Console error
On first request to each API an error is thrown and notified on the console:
(node:489) UnhandledPromiseRejectionWarning: SyntaxError: [object Object] is not a valid Openapi API definition
at /home/quirino/Projects/dino-express/node_modules/swagger-parser/lib/index.js:83:21
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:489) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:489) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.jsprocess with a non-zero exit code.
The error does not impact the application behavior.