Skip to content

Commit

Permalink
Incorrect File.sep() use - broken on Windows.
Browse files Browse the repository at this point in the history
On Windows:
```
    GET           /v1/openapi/*                [*/*]                     [*/*]                     (OpenAPIService._)    
    GET           /v1/openapi/redoc            [*/*]                     [text/html]               (OpenAPIService._)    
    GET           /v1\openapi.yaml             [*/*]                     [text/yaml]               (OpenAPIService._)    
```
  • Loading branch information
nich0s authored May 1, 2020
1 parent 53b6d75 commit bea9fd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit bea9fd3

Please sign in to comment.