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

Fix swagger doc error for allowableValues in ControllerServiceReferencingComponentDTO

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.2
    • 1.10.0
    • None
    • None

    Description

      swagger codegen is generating bad values for this class:
         def reference_type(self, reference_type):
             """
             Sets the reference_type of this ControllerServiceReferencingComponentDTO.
             The type of reference this is.

             :param reference_type: The reference_type of this ControllerServiceReferencingComponentDTO.
             :type: str
             """
             allowed_values = ["Processor", "ControllerService", "or ReportingTask"]

      Attachments

        Issue Links

          Activity

            People

              kdoran Kevin Doran
              kdoran Kevin Doran
              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 - 20m
                  20m