Merge pull request #4 from elvinchan/3

#3 Update swagger-ui version
This commit is contained in:
陈文强 2018-09-14 08:48:47 +08:00 committed by GitHub
commit 245aaa7753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
package echoswagger package echoswagger
// CDN refer to https://www.jsdelivr.com/package/npm/swagger-ui-dist // 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 DefaultCDN = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@3.18.3"
const SwaggerUIContent = `{{define "swagger"}} const SwaggerUIContent = `{{define "swagger"}}
<!DOCTYPE html> <!DOCTYPE html>