[
https://issues.apache.org/jira/browse/NIFI-12298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781553#comment-17781553
]
ASF subversion and git services commented on NIFI-12298:
--------------------------------------------------------
Commit 33c8029d65546b4d614690e0d1cfafb0e788db63 in nifi's branch
refs/heads/main from Zackeus Bengtsson
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=33c8029d65 ]
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: 10m
> 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)