sylvainlaurent / swagger-validator-maven-plugin

A maven plugin that validates swagger files in yaml and json formats
Apache License 2.0
11 stars 6 forks source link

Error with external references #2

Closed giuliopulina closed 7 years ago

giuliopulina commented 7 years ago

Hello,

I'm trying to validate two specifications files in the same folder, like this:

I'm getting this error while trying to validate swagger.yaml:

Execution validate of goal com.github.sylvainlaurent.maven:swagger-validator-maven-plugin:1.0.1:validate failed: Unable to load RELATIVE ref: ./external-file.yaml: Could not find ./external-file.yaml on the classpath.

Does the validator support this configuration?

Regards Giulio

sylvainlaurent commented 7 years ago

thanks for your pr #3. Merged and release version 1.0.2 should appear to maven central in a couple of hours)

giuliopulina commented 7 years ago

Thanks to you for reviewing and merging, I checked and the new artifact version is available on maven central :)