swagger-api / validator-badge

Validate your Swagger JSON/YAML today!
http://swagger.io
Apache License 2.0
210 stars 85 forks source link

Allow for reuse by packaging a jar dependency #89

Open DavidBiesack opened 8 years ago

DavidBiesack commented 8 years ago

I suggest repackaging this as a jar so it can be reused and added to other tooling as a direct dependency. The war file would be a thin veneer over the Jar. As a direct dependency, other tools can call it. For example, in our toolchain, we might not want to run swagger-codegen unless the input passes swagger-validator . In such cases, the input file might not be at a URL that the swagger-validator web service can access.

DavidBiesack commented 8 years ago

I also recommend deploying the jar on Maven Central