[
https://issues.apache.org/jira/browse/NIFIREG-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16175458#comment-16175458
]
ASF GitHub Bot commented on NIFIREG-23:
---------------------------------------
GitHub user kevdoran opened a pull request:
https://github.com/apache/nifi-registry/pull/12
NIFIREG-23: Fix SortParamater and OperationID in swagger.json output
I spent a while trying to figure out how to change the swagger.json output
without changing the type of the query param from List<SortParameter> to
List<String>, but in the end this was the only thing that worked for me. So now
the SortParameter.fromString method is called explicitly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kevdoran/nifi-registry NIFIREG-23
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-registry/pull/12.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12
----
commit 913912e5db37b07809c83c2f32398157a80eeb8a
Author: Kevin Doran <[email protected]>
Date: 2017-09-21T21:02:07Z
NIFIREG-23: Fix SortParamater and OperationID in swagger.json output
----
> Fix swagger.json output from Build
> ----------------------------------
>
> Key: NIFIREG-23
> URL: https://issues.apache.org/jira/browse/NIFIREG-23
> Project: NiFi Registry
> Issue Type: Bug
> Reporter: Kevin Doran
> Assignee: Kevin Doran
> Priority: Minor
>
> The swagger.json that is generated from the build has some errors, such as
> duplicate operationIds and missing type referencese, when processed by a
> swagger parser.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)