Skip to content

More than one Swagger UI doesn't render in specified containers #222

@quii

Description

@quii

If you attempt to initialise more than one SwaggerUI on a page, it incorrectly renders everything into one container div.

The reason of this seems to be there is some kind of code which is generating a ul element with an id of 'resources'. This is then used to insert the UI into it so when you call SwaggerUI more than once it all gets appended to the first element it finds on the page, rather than the respective one it should go in.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions