diff --git a/pkg/master/master.go b/pkg/master/master.go index 99ae6ac007c..bf8d8950d8b 100644 --- a/pkg/master/master.go +++ b/pkg/master/master.go @@ -413,8 +413,8 @@ func (m *Master) InstallSwaggerAPI() { swaggerConfig := swagger.Config{ WebServices: m.handlerContainer.RegisteredWebServices(), // TODO: Parameterize the path? - ApiPath: "/swaggerapi/", - SwaggerPath: "/swaggerui/", + ApiPath: "/swaggerapi/", + SwaggerPath: "/swaggerui/", SwaggerFilePath: "/static/swagger-ui/", } swagger.RegisterSwaggerService(swaggerConfig, m.handlerContainer)