swagger-parser icon indicating copy to clipboard operation
swagger-parser copied to clipboard

If the tag such as example under the info tag is empty, the value is parsed as string of 'null'

Open lilovexi opened this issue 5 years ago • 3 comments

The cause is that the NullNode is not considered during parsing. The problem lies in swagger-parser-v3.

lilovexi avatar Jun 15 '20 03:06 lilovexi

The problem lies in swagger-parser-v3.

lilovexi avatar Jun 15 '20 03:06 lilovexi

The description tag is removed from the swagger definition when it is empty. Could you please look into the issue?

hasuniea avatar Aug 05 '21 11:08 hasuniea

Hi @hasuniea can you please provide a spec so I can reproduce the issue? thanks

gracekarina avatar Oct 09 '21 14:10 gracekarina