Correcting documentation on SnippetResource#createSnippet to reflect that it is creating a snippet.

This commit is contained in:
Aldrin Piri 2016-02-09 15:33:46 -05:00
parent eb6f9f0fec
commit a33289393d
1 changed files with 2 additions and 2 deletions

View File

@ -282,8 +282,8 @@ public class SnippetResource extends ApplicationResource {
@Path("") // necessary due to bug in swagger
@PreAuthorize("hasRole('ROLE_DFM')")
@ApiOperation(
value = "Gets a reporting task property descriptor",
response = PropertyDescriptorEntity.class,
value = "Creates a snippet",
response = SnippetEntity.class,
authorizations = {
@Authorization(value = "Read Only", type = "ROLE_MONITOR"),
@Authorization(value = "Data Flow Manager", type = "ROLE_DFM"),