Why is the documentation extension (OpenAPI) generating the wrong data type?

I have the same problem. Single types are generated as arrays which is just wrong.