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

[jira] [Created] (NIFIREG-128) swagger_client generated create_bucket requires but does not accept a 'name' parameter

Daniel Chaffelson created NIFIREG-128:
-----------------------------------------

             Summary: swagger_client generated create_bucket requires but does not accept a 'name' parameter
                 Key: NIFIREG-128
                 URL: https://issues.apache.org/jira/browse/NIFIREG-128
             Project: NiFi Registry
          Issue Type: Bug
    Affects Versions: 0.1.0, 0.2.0
            Reporter: Daniel Chaffelson


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)