wp-api-swaggerui icon indicating copy to clipboard operation
wp-api-swaggerui copied to clipboard

Add support for multiple url params in the url

Open grzegorz-bach opened this issue 3 years ago • 0 comments

Currently the url paths in the swagger ui are broken whenever the url has multiple url params. This PR modifies the regex so it works with random amount of params. Still need to update getDefaultTagsFromEndpoint function, so it also supports multiple parameters - it has been done in this PR 🙂

Before

Zrzut ekranu 2022-10-1 o 22 40 53

After

Zrzut ekranu 2022-10-1 o 22 43 37

grzegorz-bach avatar Oct 01 '22 20:10 grzegorz-bach