You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2023/10/31 23:56:00 UTC
[jira] [Resolved] (NIFI-12298) Lacking form field definitions for Registry API createExtensionBundleVersion
[ https://issues.apache.org/jira/browse/NIFI-12298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Villard resolved NIFI-12298.
-----------------------------------
Fix Version/s: 2.0.0
1.24.0
Assignee: Zackeus Bengtsson
Resolution: Fixed
> 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
> Assignee: Zackeus Bengtsson
> Priority: Minor
> Fix For: 2.0.0, 1.24.0
>
> Time Spent: 0.5h
> 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)