[ https://issues.apache.org/jira/browse/NIFIREG-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345570#comment-16345570 ]
ASF GitHub Bot commented on NIFIREG-128: ---------------------------------------- Github user bbende commented on the issue: https://github.com/apache/nifi-registry/pull/95 +1 Looks good, will merge > 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)