Magento 2 – Failed to generate REST docs locally

This error happens every time I tried to access the REST API docs locally.

The error message:

Failed to load API definition.

Internal Server Error

N.B. This is a clean Magento 2 installation.

After checking the log files, this is what I’ve discovered.

Message: The “DateTime” parameter type is invalid. Verify the parameter and try again.

Any help is appreciated.

submitted by /u/phongvu99
[link] [comments]