diff --git a/proteus-openapi/src/main/java/io/sinistral/proteus/openapi/services/OpenAPIService.java b/proteus-openapi/src/main/java/io/sinistral/proteus/openapi/services/OpenAPIService.java index db4be96..781bd66 100644 --- a/proteus-openapi/src/main/java/io/sinistral/proteus/openapi/services/OpenAPIService.java +++ b/proteus-openapi/src/main/java/io/sinistral/proteus/openapi/services/OpenAPIService.java @@ -319,7 +319,7 @@ public RoutingHandler get() /* * YAML path */ - String pathTemplate = this.applicationPath + File.separator + this.specFilename; + String pathTemplate = this.applicationPath + "/" + this.specFilename; FileResourceManager resourceManager = new FileResourceManager(this.resourcePath.toFile(), 1024);