update swagger-ui
This commit is contained in:
parent
e93b84b60c
commit
12cfc86560
2
go.mod
2
go.mod
@ -14,7 +14,7 @@ require (
|
|||||||
github.com/google/certificate-transparency-go v1.0.21 // indirect
|
github.com/google/certificate-transparency-go v1.0.21 // indirect
|
||||||
github.com/json-iterator/go v1.1.5 // indirect
|
github.com/json-iterator/go v1.1.5 // indirect
|
||||||
github.com/markbates/going v1.0.3 // indirect
|
github.com/markbates/going v1.0.3 // indirect
|
||||||
github.com/mcluseau/go-swagger-ui v0.0.0-20190204025501-38c0b18f1edd
|
github.com/mcluseau/go-swagger-ui v0.0.0-20190204030159-200d6ab398a9
|
||||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||||
github.com/modern-go/reflect2 v1.0.1 // indirect
|
github.com/modern-go/reflect2 v1.0.1 // indirect
|
||||||
github.com/oklog/ulid v1.3.1
|
github.com/oklog/ulid v1.3.1
|
||||||
|
2
go.sum
2
go.sum
@ -407,6 +407,8 @@ github.com/mcluseau/go-swagger-ui v0.0.0-20190204024002-84343d2c0eda h1:ykEyzlC7
|
|||||||
github.com/mcluseau/go-swagger-ui v0.0.0-20190204024002-84343d2c0eda/go.mod h1:OllM1HVcFzek2effrrgC8BLKfG73mSKfrh41kEuhvMk=
|
github.com/mcluseau/go-swagger-ui v0.0.0-20190204024002-84343d2c0eda/go.mod h1:OllM1HVcFzek2effrrgC8BLKfG73mSKfrh41kEuhvMk=
|
||||||
github.com/mcluseau/go-swagger-ui v0.0.0-20190204025501-38c0b18f1edd h1:knS7/g8ffqSDiRaPlgb/5AnPPO26Z8emO9CC9OOlntg=
|
github.com/mcluseau/go-swagger-ui v0.0.0-20190204025501-38c0b18f1edd h1:knS7/g8ffqSDiRaPlgb/5AnPPO26Z8emO9CC9OOlntg=
|
||||||
github.com/mcluseau/go-swagger-ui v0.0.0-20190204025501-38c0b18f1edd/go.mod h1:OllM1HVcFzek2effrrgC8BLKfG73mSKfrh41kEuhvMk=
|
github.com/mcluseau/go-swagger-ui v0.0.0-20190204025501-38c0b18f1edd/go.mod h1:OllM1HVcFzek2effrrgC8BLKfG73mSKfrh41kEuhvMk=
|
||||||
|
github.com/mcluseau/go-swagger-ui v0.0.0-20190204030159-200d6ab398a9 h1:pPFPrmHOzd64dzF8kONrA41LvwzOf94RSLUku3cWsto=
|
||||||
|
github.com/mcluseau/go-swagger-ui v0.0.0-20190204030159-200d6ab398a9/go.mod h1:OllM1HVcFzek2effrrgC8BLKfG73mSKfrh41kEuhvMk=
|
||||||
github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4=
|
github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4=
|
||||||
github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/leAFZyRl6bYmGDlGc=
|
github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/leAFZyRl6bYmGDlGc=
|
||||||
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
|
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
|
||||||
|
12
vendor/github.com/mcluseau/go-swagger-ui/a_swaggerui-packr.go
generated
vendored
12
vendor/github.com/mcluseau/go-swagger-ui/a_swaggerui-packr.go
generated
vendored
File diff suppressed because one or more lines are too long
4
vendor/github.com/mcluseau/go-swagger-ui/fetch-ui.sh
generated
vendored
4
vendor/github.com/mcluseau/go-swagger-ui/fetch-ui.sh
generated
vendored
@ -4,10 +4,12 @@ v=3.20.6
|
|||||||
|
|
||||||
file=v$v.tar.gz
|
file=v$v.tar.gz
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
[ -e swagger-ui/$file ] ||
|
[ -e swagger-ui/$file ] ||
|
||||||
wget -P swagger-ui https://github.com/swagger-api/swagger-ui/archive/$file
|
wget -P swagger-ui https://github.com/swagger-api/swagger-ui/archive/$file
|
||||||
|
|
||||||
rm -fr swagger-ui/dist
|
rm -fr swagger-ui/dist
|
||||||
tar zxvf swagger-ui/$file --strip-components=1 -C swagger-ui swagger-ui-$v/dist
|
tar zxvf swagger-ui/$file --strip-components=1 -C swagger-ui swagger-ui-$v/dist
|
||||||
|
|
||||||
sed -i -e '/url:/s,https.*/,/,' swagger-ui/dist/index.html
|
sed -i -e '/url:/s,https://petstore.swagger.io/v2/swagger.json,/swagger.json,g' swagger-ui/dist/*
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -63,7 +63,7 @@ github.com/json-iterator/go
|
|||||||
github.com/mailru/easyjson/jlexer
|
github.com/mailru/easyjson/jlexer
|
||||||
github.com/mailru/easyjson/jwriter
|
github.com/mailru/easyjson/jwriter
|
||||||
github.com/mailru/easyjson/buffer
|
github.com/mailru/easyjson/buffer
|
||||||
# github.com/mcluseau/go-swagger-ui v0.0.0-20190204025501-38c0b18f1edd
|
# github.com/mcluseau/go-swagger-ui v0.0.0-20190204030159-200d6ab398a9
|
||||||
github.com/mcluseau/go-swagger-ui
|
github.com/mcluseau/go-swagger-ui
|
||||||
# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
|
# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
|
||||||
github.com/modern-go/concurrent
|
github.com/modern-go/concurrent
|
||||||
|
Loading…
Reference in New Issue
Block a user