fix for primitive type in models section of swagger

add test for issue85 ; not (yet) reproduced