Skip to content

Commit

Permalink
Moving swagger-ui files from www/swagger-ui to third-party/swagger-ui
Browse files Browse the repository at this point in the history
and adding LICENSE and README files
  • Loading branch information
nikhiljindal committed Jan 6, 2015
1 parent c908fbe commit 1db30ae
Show file tree
Hide file tree
Showing 30 changed files with 13,450 additions and 13,412 deletions.
2 changes: 1 addition & 1 deletion hack/build-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fi
DATAFILE=pkg/ui/datafile.go
TMP_DATAFILE=/tmp/datafile.go

go-bindata -nocompress -o $DATAFILE -prefix ${PWD} -pkg ui www/...
go-bindata -nocompress -o $DATAFILE -prefix ${PWD} -pkg ui www/... third_party/swagger-ui/...

cat hooks/boilerplate.go.txt > $TMP_DATAFILE
echo "// generated by hack/build-ui.sh; DO NOT EDIT
Expand Down
2 changes: 1 addition & 1 deletion pkg/master/master.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ func (m *Master) InstallSwaggerAPI() {
// TODO: Parameterize the path?
ApiPath: "/swaggerapi/",
SwaggerPath: "/swaggerui/",
SwaggerFilePath: "/static/swagger-ui/",
SwaggerFilePath: "/swagger-ui/",
}
swagger.RegisterSwaggerService(swaggerConfig, m.handlerContainer)
}
Expand Down
Loading

0 comments on commit 1db30ae

Please sign in to comment.