[ 
https://issues.apache.org/jira/browse/NIFI-12591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805618#comment-17805618
 ] 

ASF subversion and git services commented on NIFI-12591:
--------------------------------------------------------

Commit dc87cfa9ab5b242119d24b5a5637177dc5d20edd in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=dc87cfa9ab ]

NIFI-12591 Upgraded from Swagger Annotations 1.6.12 to 2.2.20

- Added nifi-swagger-integration with ObjectMapperProcessor for enum 
customization
- Changed nifi-web-api REST API documentation to use HTML template from 
swagger-codegen-maven-plugin

Upgraded references in multiple modules:

- c2-protocol-api
- c2-protocol-component-api
- minifi-c2-service
- nifi-api
- nifi-client-dto
- nifi-extension-manifest-model
- nifi-registry-revision-entity-model
- nifi-registry-data-model
- nifi-registry-web-api
- nifi-web-api

Signed-off-by: Csaba Bejan <[email protected]>

This closes #8232.


> Upgrade Swagger Annotations to Version 2
> ----------------------------------------
>
>                 Key: NIFI-12591
>                 URL: https://issues.apache.org/jira/browse/NIFI-12591
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to