-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class level comments not shown in the description table #5
Comments
comment Comment 1 by project member stephane.epardaud, Jul 20, 2011 What should we do for instance in this case? @path("foo") @path("foo") We chose to only use method-level javadoc because those are always meaningful. If you can convince me otherwise, I will change it, but so far I haven't found a good reason to change that behaviour. |
comment Comment 2 by manuelpu...@gmail.com, Jul 20, 2011 /**
/** /**
It would be great having the class level javadoc in the documentation so you can see that all services under path /customer are meant to be used for all customer services, etc. However, I see your point regarding the problem having same path in different classes. Maybe the first or the last description can be added to the table? Currently there is simply no information displayed in the table containing paths w/o being methods |
comment Comment 3 by project member stephane.epardaud, Jul 20, 2011 |
comment Comment 4 by manuelpu...@gmail.com, Jul 20, 2011 But I have one path which I have no access (@get, @post...), so it's a way to group my services logically in a path. Then I can access to that level in the documentation and I see all the subpath available with empty description. Try to create a similar case just to see what you get (i.e Resource table w/o Method table). This is nothing critical, but for the way we're using rest would be ok. BTW, nice doclet, it's been really useful :) |
comment Comment 5 by project member stephane.epardaud, Jul 20, 2011 |
We are interested in this feature as well. |
Reported by manuelpu...@gmail.com, Jul 19, 2011
What steps will reproduce the problem?
1.Add some comment to the class level such as:
/**
*/
@path("/mypath")
@produces(MediaType.APPLICATION_JSON)
public class MyClass { ... }
What is the expected output? What do you see instead?
In the resources table containing /mypath there is no information in the description column
What version of the product are you using? On what operating system?
v0.9.0 - WinXP/Linux
Please provide any additional information below.
Please indicate the proper way to add comments at that level.
The text was updated successfully, but these errors were encountered: