chrome-swagger-ui icon indicating copy to clipboard operation
chrome-swagger-ui copied to clipboard

Empty objects are not displayed

Open ashertarno opened this issue 7 years ago • 0 comments

hi, we have an empty object (object with no fields), e.g. public class Hello { } and public class World { private Hello hello; }

we are expecting it to be displayed in console as "hello" : {}. in swagger json we indeed see the following:

"hello": { "type": "any" }

but nothing is displayed in console.

thanks.

ashertarno avatar Mar 06 '17 15:03 ashertarno