[ 
https://issues.apache.org/jira/browse/NIFI-8374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314015#comment-17314015
 ] 

ASF subversion and git services commented on NIFI-8374:
-------------------------------------------------------

Commit f21c1be60f01049f4ea40ff2e5b77445370d8f57 in nifi's branch 
refs/heads/main from Jose Luis Pedrosa
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f21c1be ]

NIFI-8374 Refactor readOnly to accessMode in ApiModelProperty usages

This closes #4945

Signed-off-by: Mike Thomsen <[email protected]>


> ApiModelProperty readOnly is deprecated
> ---------------------------------------
>
>                 Key: NIFI-8374
>                 URL: https://issues.apache.org/jira/browse/NIFI-8374
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Jose Luis Pedrosa
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Swagger io.swagger.annotations.ApiModelProperty#readOnly is deprecated 
> (1.5.19), replaced by accessMode()
> So the annotations:
> {code:java}
> readOnly = true 
> {code}
>  should be replaced with
> {code:java}
>  accessMode = ApiModelProperty.AccessMode.READ_ONLY
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to