You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Classpath loader receives invalid file paths for external references under Windows #1878
We are currently in the process of providing a set of common/shared schemas through JAR dependencies and relying on the ability of resolving $ref pointers to these on the classpath.
With a reference such as $ref: "/sdk/openapi/common.yaml#/some/schema" running under platforms utilising / as the path separator all is OK and the files are correctly resolved and read.
When running under platforms utilising \ as the path separator (i.e. Windows), the location to ClasspathHelper.loadFileFromClasspath receives the file to retrieve from the classpath as \sdk\openapi\common.yaml and fails to perform the look-up.
Activity
Merge pull request swagger-api#1879 from adrianhj/fix/ensure-valid-cl…