fix typo
This commit is contained in:
garanews
2020-10-01 13:25:47 +02:00
parent 074093adb4
commit 31ee2dfdec
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ func generateYaml(swagger *openapi3.Swagger, newmd5 string) (*openapi3.Swagger,
//uuid.NewV4().String()
api.IsValid = true
api.Link = swagger.Servers[0].URL // host doesnt exist lol
api.Link = swagger.Servers[0].URL // host does not exist lol
if strings.HasSuffix(api.Link, "/") {
api.Link = api.Link[:len(api.Link)-1]
}