You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/24 18:44:00 UTC

[jira] [Commented] (NIFIREG-128) Swagger spec missing body param for create/update bucket

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

ASF GitHub Bot commented on NIFIREG-128:
----------------------------------------

GitHub user kevdoran opened a pull request:

    https://github.com/apache/nifi-registry/pull/95

    NIFIREG-128 Fixes Swagger spec build output

    Adds missing body parameter annotations for createBucket, updateBucket

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kevdoran/nifi-registry NIFIREG-128

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-registry/pull/95.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 #95
    
----
commit 0e62f008df68dbfc9c4c4af218533f35305e84c8
Author: Kevin Doran <kd...@...>
Date:   2018-01-24T18:41:19Z

    NIFIREG-128 Fixes Swagger spec build output
    
    Adds missing body parameter annotations for createBucket, updateBucket

----


> Swagger spec missing body param for create/update bucket
> --------------------------------------------------------
>
>                 Key: NIFIREG-128
>                 URL: https://issues.apache.org/jira/browse/NIFIREG-128
>             Project: NiFi Registry
>          Issue Type: Bug
>    Affects Versions: 0.1.0
>            Reporter: Daniel Chaffelson
>            Assignee: Kevin Doran
>            Priority: Major
>             Fix For: 0.2.0
>
>
> The swagger definition doesn't allow the create_bucket call to specify a name, which is required to create a bucket
>  
> {code:java}
> "/buckets" : {
> "post" : {
> "tags" : [ "buckets" ],
> "summary" : "Creates a bucket",
> "description" : "",
> "operationId" : "createBucket",
> "consumes" : [ "application/json" ],
> "produces" : [ "application/json" ],
> "responses" : {
> "200" : {
> "description" : "successful operation",
> "schema" : {
> "$ref" : "#/definitions/bucket"
> }
> },
> "400" : {
> "description" : "NiFi Registry was unable to complete the request because it was invalid. The request should not be retried without modification."
> },
> "401" : {
> "description" : "Client could not be authenticated."
> },
> "403" : {
> "description" : "Client is not authorized to make this request."
> }
> }
> }
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)