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

Upgrade Swagger Annotations to Version 2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M2
    • Core Framework
    • None

    Description

      The Swagger Annotations dependency should be upgraded from version 1 to version 2 in order to support OpenAPI Specification Version 3 and Jakarta EE 10.

      Recent upgrades for Spring Framework 6 and Jetty 12 required migrating to Jakarata EE 10 libraries, including the newer version of the Swagger Maven Plugin. The initial migration did not incorporate upgrading the Swagger Annotations because it requires adjusting all current REST API resource annotations. Most of the changes are similar, but some restructuring is required.

      These changes are necessary so that the generated OpenAPI specification, and REST API documentation, will reflect the full object definitions on responses.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              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