diff --git a/scripts/update.mjs b/scripts/update.mjs index b556754b..0c96dec4 100644 --- a/scripts/update.mjs +++ b/scripts/update.mjs @@ -123,10 +123,7 @@ async function update(options) { return { method, - // replace :varname with {varname} to make it RFC 6570 compatible - // and coherent with current docs - // NOTE: this workaround can be removed once URLs in the docs use {varname} - url: url.replace(/:([a-z]\w+)/g, "{$1}"), + url, access, documentationUrl, };