Skip to content

Commit 1958120

Browse files
committed
remove doc server
followup of #670 since generated doc files are not there anymore
1 parent 07a51db commit 1958120

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

v2/http.go

-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import (
2020
"net/http"
2121
"path/filepath"
2222

23-
docssvr "github.com/arduino/arduino-create-agent/gen/http/docs/server"
2423
indexessvr "github.com/arduino/arduino-create-agent/gen/http/indexes/server"
2524
toolssvr "github.com/arduino/arduino-create-agent/gen/http/tools/server"
2625
indexessvc "github.com/arduino/arduino-create-agent/gen/indexes"
@@ -59,10 +58,6 @@ func Server(home string) http.Handler {
5958
toolsServer := toolssvr.New(toolsEndpoints, mux, goahttp.RequestDecoder, goahttp.ResponseEncoder, errorHandler(logger))
6059
toolssvr.Mount(mux, toolsServer)
6160

62-
// Mount docs
63-
docssvr.New(nil, mux, goahttp.RequestDecoder, goahttp.ResponseEncoder, errorHandler(logger))
64-
docssvr.Mount(mux)
65-
6661
// Mount middlewares
6762
handler := middleware.Log(logAdapter)(mux)
6863
handler = middleware.RequestID()(handler)

0 commit comments

Comments
 (0)