springwolf / springwolf-core

Automated documentation for event-driven applications built with Spring Boot

Home Page:https://www.springwolf.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XML Examples for Arrays/Lists are missing the list-item-element

sam0r040 opened this issue · comments

Describe the bug
Given the following class definition

@XmlRootElement(name = "ArrayFoo")
private static class ArrayFoo {
    private List<SimpleFoo> fList;
}

The following example should be generated:

<ArrayFoo>
    <flist>
        <SimpleFoo>
            <b>true</b>
            <s>string</s>
        </SimpleFoo>
    </flist>
</ArrayFoo>

But currently the following example is generated:

<ArrayFoo>
    <flist>
        <b>true</b>
        <s>string</s>
    </flist>
</ArrayFoo>

Dependencies and versions used
1.0.0
Code example
If possible, an example project or snippet that reproduces the bug.

Stack trace and error logs
If an exception has been thrown or an error was logged by springwolf.

Thank you for the report, the issue has been addressed in the new release.

Feel free to reopen this issue if there is still something missing.