docs-site icon indicating copy to clipboard operation
docs-site copied to clipboard

Support for multiple macros on the same page

Open LukeCz opened this issue 2 years ago • 0 comments

Hi, the current design assumes there is only one hardcoded swagger-ui div per page. When the macro is used multiple times, the content goes always to the 1st div. This proposed change is to parametrize the div name and script name using a simple global counter.

LukeCz avatar Jan 02 '23 16:01 LukeCz