[
https://issues.apache.org/jira/browse/NIFI-12298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781554#comment-17781554
]
ASF subversion and git services commented on NIFI-12298:
--------------------------------------------------------
Commit 84becd0a63711cc4fa9ea4fd24b641e0066df171 in nifi's branch
refs/heads/support/nifi-1.x from Zackeus Bengtsson
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=84becd0a63 ]
NIFI-12298 add swagger annotations for createExtensionBundleVersion form fields
Signed-off-by: Pierre Villard <[email protected]>
This closes #7961.
> Lacking form field definitions for Registry API createExtensionBundleVersion
> ----------------------------------------------------------------------------
>
> Key: NIFI-12298
> URL: https://issues.apache.org/jira/browse/NIFI-12298
> Project: Apache NiFi
> Issue Type: Improvement
> Components: NiFi Registry
> Affects Versions: 1.23.2
> Reporter: Zackeus Bengtsson
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The current swagger annotations for the
> createExtensionBundleVersion function in BucketBundleResource results in the
> form parameters for 'file' and 'sha256' being left out of the generated
> swagger api defenition for the /buckets/\{bucketId}/bundles/\{bundleType}
> endpoint.
>
> By adding a
> ApiImplicitParams annotation for both these fields, swagger will correctly
> interpret these and add them as fields to the endpoint.
>
> When generating swagger clients, this change is required to correctly support
> the necessary input arguments
--
This message was sent by Atlassian Jira
(v8.20.10#820010)