swagger-api / swagger-core

Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
http://swagger.io
Apache License 2.0
7.36k stars 2.17k forks source link

Q: What's the difference between swager 2.10.0 and 2.9.1? #365

Closed filip26 closed 10 years ago

filip26 commented 10 years ago

I'm confused, version is part of artifact id and also there is natural version. What's the difference between swagger 2.10.0 and 2.9.1? Why there is version 1.3.0 for 2.9.1 but not for 2.10.0? Which artifact/version I should choose and why? Thank you.

ddragosd commented 10 years ago

It's the scala version (2.9.1) or (2.10.0) that swagger was compiled with.

On Wed, Oct 30, 2013 at 6:21 AM, filip26 notifications@github.com wrote:

I'm confused, version is part of artifact id and also there is natural version. What's the difference between swagger 2.10.0 and 2.9.1? Why there is version 1.3.0 for 2.9.1 but not for 2.10.0? Which artifact/version I should choose and why? Thank you.

— Reply to this email directly or view it on GitHubhttps://github.com/wordnik/swagger-core/issues/365 .

fehguy commented 10 years ago

hi, the scala versioning system is confusing. As @ddragosd mentioned, the scala version is only relevant if you use scala in your project, since the scala minor versions are not compatible.

So if you're using java only, it doens't really matter. If you're using scala, then you need to match the scala version with the version you use (2.9.1 or 2.10).

There actually is a scala 2.10.0 version of swagger, but back to the crazy scala versioning conventions, it's under "2.10" not "2.10.0". See here:

https://oss.sonatype.org/content/repositories/releases/com/wordnik/swagger-core_2.10/1.3.0/