Skip to content

peterivarsson/rest-doc-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

rest-doc-types

DocListType

Mark a metod that returns a list so that content in list will shown in the REST documentation Web page.

I.e. In the Data object for MovieList a link to Movie data object will be shown in Wewb page.

 @DocListType(key = "se.peter.ivarsson.rest.doc.domain.Movie")
 public List<Movie> getMovies() {
 :

DocReturnType

Mark a metod so the real return type will be shown in Web page instead of Response as return type.

I.e. If the type is Response, show real 'return type' instead. In this case MovieList.

@DocReturnType(key = "se.peter.ivarsson.rest.doc.domain.MovieList")
public Response getCurrentMovies(@PathParam(PARAM_CITY_ID) final String cityId, ...
:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages