swagger2markup icon indicating copy to clipboard operation
swagger2markup copied to clipboard

null values are cleaned out in adoc

Open IAmWebSA opened this issue 4 years ago • 0 comments

Hello,

is there a way to keep the null values in the examples and do not remove them during conversation?

I have a yaml file which contains examples like:

examples:
           application/json:
             - value: null
               value2: 1

After running the convert the line with "value" is not present in the generated adoc file. Is there a way to keep it as null without marking it as "null" string?

Adoc: [ { "value2" : 1, }]

IAmWebSA avatar May 26 '21 13:05 IAmWebSA