Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-12298

Lacking form field definitions for Registry API createExtensionBundleVersion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.23.2
    • 2.0.0-M1, 1.24.0
    • NiFi Registry
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              hexoplon Zackeus Bengtsson
              hexoplon Zackeus Bengtsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h