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

Registry swagger enums are generated with incorrect values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0-M1, 1.24.0, 1.23.2
    • None
    • NiFi Registry
    • None

    Description

      In the generated swagger.json api definition, objects that contain the BundleType enum, like BundleInfo, have the wrong enum values. The enum values for bundleType should be "nifi-nar" and "minifi-cpp", but are currently "NIFI_NAR" and "MINIFI_CPP". For the endpoint resource defenitions in the swagger file, the enum values are correctly generated.

      For the BundleType object, the values are correct. The issue only occurs for objects using the containing the enum object

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: