Github user mcgilman commented on the issue:
https://github.com/apache/nifi/pull/1136
Our use of swagger is simply for generating the documentation. The
swagger.json is generated into the target directory and is not made available
as part of the released source or convenience binaries.
I think the issue here is the inability of Swagger to understand the use of
JAXB adapters. These values are String's already as the adapters support
(un)marshalling them. I would guess that Swagger is simply reading the type of
the property as a `java.util.Date` and marking it a date-time.
I would suggest we update the `ApiModelProperty` annotation of all fields
that use any JAXB adapters to accurately reflect the actual data type a client
can expect. It looks like there is a dataType field in the annotation. I'm not
certain but I would expect this to override the data type in the method
signature.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---