Closed GerardSoleCa closed 9 years ago
How are you integrating with swagger? It would be immensely better if you can update to use the 1.2 specification, which is about 2 years old now. Most all tooling is expecting that format.
I'm using the jersey swagger version: com.wordnik:swagger-jersey-jaxrs_2.10.0:1.2.5
which I think that is the latest version of this library as I see on http://mvnrepository.com/search.html?query=com.wordnik
oh dear! No, we are at 1.3.7, and I expect to release 1.3.8 any day.
https://oss.sonatype.org/content/repositories/releases/com/wordnik/swagger-jersey-jaxrs_2.10/
I'm trying now http://mvnrepository.com/artifact/com.wordnik/swagger-jersey2-jaxrs_2.10/1.3.7 but I think that annotations will be different...
Oh! Thanks, I'll try that repo!
Hi,
The following annotations have been removed, isn't it?
import com.wordnik.swagger.annotations.ApiError;
import com.wordnik.swagger.annotations.ApiErrors;
There are some naming changes between 1.2 and 1.3 but functionally the changes are minimal. Take a look at the samples in master
Ok, I think that, at least and for now, I've updated the spec to 1.2. And now java files are created.
Thanks, I close this issue.
By now, jar files are generated without the classes, I'll search the reason why this happen.
Hi,
Finally I've moved to my preproduction environment to run this in a better way.
If I use the validator against my API (spec 1.1) it doesn't throw any error, but when trying to generate a client it crashes:
Could be related to the required params?
Thanks!