mirror of https://github.com/apache/nifi.git
Correcting documentation on SnippetResource#createSnippet to reflect that it is creating a snippet.
This commit is contained in:
parent
eb6f9f0fec
commit
a33289393d
|
@ -282,8 +282,8 @@ public class SnippetResource extends ApplicationResource {
|
||||||
@Path("") // necessary due to bug in swagger
|
@Path("") // necessary due to bug in swagger
|
||||||
@PreAuthorize("hasRole('ROLE_DFM')")
|
@PreAuthorize("hasRole('ROLE_DFM')")
|
||||||
@ApiOperation(
|
@ApiOperation(
|
||||||
value = "Gets a reporting task property descriptor",
|
value = "Creates a snippet",
|
||||||
response = PropertyDescriptorEntity.class,
|
response = SnippetEntity.class,
|
||||||
authorizations = {
|
authorizations = {
|
||||||
@Authorization(value = "Read Only", type = "ROLE_MONITOR"),
|
@Authorization(value = "Read Only", type = "ROLE_MONITOR"),
|
||||||
@Authorization(value = "Data Flow Manager", type = "ROLE_DFM"),
|
@Authorization(value = "Data Flow Manager", type = "ROLE_DFM"),
|
||||||
|
|
Loading…
Reference in New Issue