wp-api-swaggerui
wp-api-swaggerui copied to clipboard
Add support for multiple url params in the url
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

After
