diff --git a/assets.go b/assets.go index a3fcb62..ee7eecf 100644 --- a/assets.go +++ b/assets.go @@ -1,14 +1,17 @@ package echoswagger +// CDN refer to https://www.jsdelivr.com/package/npm/swagger-ui-dist +const DefaultCDN = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@3.18.1" + const SwaggerUIContent = `{{define "swagger"}}