Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

WADL generation should support producing multiple mime/types #507

Open
glassfishrobot opened this issue Mar 9, 2009 · 2 comments
Open

Comments

@glassfishrobot
Copy link

The current ant/maven tasks to generate wadl can be enhanced by means of
extended tags on the java docs.

For example to document the response for a particular resource of a given
media-type you can add the tags
@response.representation.200.doc
@response.representation.200.example

However, the current implementation does not support the case where a resource
has more than one representation type, for example using the tage

@produces(

{"text/xml", "application/json"}

)

In this case the documentation task will pick only one of them for the WADL file

Ideally you should be able to create javadoc tags that are specific to different
media types

Carlos

Environment

Operating System: All
Platform: All

@glassfishrobot
Copy link
Author

Reported by [email protected]

@glassfishrobot
Copy link
Author

This issue was imported from java.net JIRA JERSEY-235

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants