mulesoft-labs / raml-for-jax-rs

This project is all about two way transformation of JAX-RS-annotated Java code to RAML API description and back.
Other
295 stars 181 forks source link

The generator does not use Response for the Schema or Example generation #51

Closed vebhhav closed 9 years ago

vebhhav commented 9 years ago

Two issues faced by Cisco in JAX-RS for RAML to generate RAML -Swagger Annotations @APIResponse takes a parameter for code, message and response. The generator does not use Response for the Schema or Example generation;

petrochenko-pavel-a commented 9 years ago

Hi @vebhhav, thanks a lot for filing this , yes we are currently having very limited support for swagger annotations and it is a definitely point for improvement. There are some discussions about how it should be bundled but in general we will try to support it asap. Regards, Pavel

vebhhav commented 9 years ago

Thanks.

How can we help you to get this fixed.

Regards -veb

Sent from my iPhone

On Mar 16, 2015, at 2:42 PM, petrochenko-pavel-a notifications@github.com wrote:

Hi @vebhhav, thanks a lot for filing this , yes we are currently having very limited support for swagger annotations and it is a definitely point for improvement. There are some discussions about how it should be bundled but in general we will try to support it asap. Regards, Pavel

— Reply to this email directly or view it on GitHub.

usarid commented 9 years ago

As with the other issue, please clarify: this isn't a bug that needs fixing, this is extra functionality to add to this project, yes?

On Tue, Mar 17, 2015 at 10:40 AM, vebhhav notifications@github.com wrote:

Thanks.

How can we help you to get this fixed.

Regards -veb

Sent from my iPhone

On Mar 16, 2015, at 2:42 PM, petrochenko-pavel-a < notifications@github.com> wrote:

Hi @vebhhav, thanks a lot for filing this , yes we are currently having very limited support for swagger annotations and it is a definitely point for improvement. There are some discussions about how it should be bundled but in general we will try to support it asap. Regards, Pavel

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/mulesoft/raml-for-jax-rs/issues/51#issuecomment-82357472 .

petrochenko-pavel-a commented 9 years ago

Hi @vebhhav, I am going to work on adding this functionality into the project. Do you have any examples of use-cases that I may use for testing of this feature. (I already have couple in my mind, but it would be nice to be sure that we are on same plate). I am mostly interested in your vision of how it should behave in the cases when we have code annotated both with jax-rs and swagger annotations.

Thanks in advance, Pavel

KonstantinSviridov commented 9 years ago

fixed at 1.3.4-SNAPSHOT