Skip to content

Commit d89d287

Browse files
authored
Merge pull request #486 from modelix/bugfix/make-swagger-paths-platform-independent
Use invariantSeparatorsPath to allow running model-server on windows
2 parents 6d0bb08 + 4045d97 commit d89d287

File tree

1 file changed

+1
-1
lines changed
  • model-server/src/main/kotlin/org/modelix/model/server

1 file changed

+1
-1
lines changed

model-server/src/main/kotlin/org/modelix/model/server/Main.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ object Main {
245245
}
246246
} else {
247247
// we serve the public API to the outside via swagger UI
248-
swaggerUI(path = "swagger", swaggerFile = ResourceUtils.getFile("api/model-server.yaml").path.toString())
248+
swaggerUI(path = "swagger", swaggerFile = ResourceUtils.getFile("api/model-server.yaml").invariantSeparatorsPath)
249249
}
250250
}
251251
}

0 commit comments

Comments
 (0)