Improving docs
This commit is contained in:
parent
17ffb800cf
commit
8f88be604c
|
@ -143,12 +143,14 @@ public class Profile extends BaseREST implements org.gcube.gcat.api.interfaces.P
|
||||||
* @return the profile definition
|
* @return the profile definition
|
||||||
*
|
*
|
||||||
* @pathExample /profiles/EmptyProfile
|
* @pathExample /profiles/EmptyProfile
|
||||||
* @responseExample application/json classpath:/api-docs-examples/profile/read-profile-response.json
|
* @responseExample application/xml classpath:/api-docs-examples/profile/read-profile-response.xml
|
||||||
*
|
*
|
||||||
|
* @pathExample /profiles/EmptyProfile
|
||||||
|
* @responseExample application/json classpath:/api-docs-examples/profile/read-profile-response.json
|
||||||
*/
|
*/
|
||||||
@GET
|
@GET
|
||||||
@Path("/{" + PROFILE_NAME_PARAMETER + "}")
|
@Path("/{" + PROFILE_NAME_PARAMETER + "}")
|
||||||
@Produces({MediaType.APPLICATION_XML, GCatConstants.APPLICATION_JSON_CHARSET_UTF_8})
|
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
|
||||||
@StatusCodes ({
|
@StatusCodes ({
|
||||||
@ResponseCode ( code = 200, condition = "The profile exists.")
|
@ResponseCode ( code = 200, condition = "The profile exists.")
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue