You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kevin Doran (JIRA)" <ji...@apache.org> on 2018/01/24 18:28:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Kevin Doran updated NIFIREG-128:
--------------------------------
Summary: Swagger spec missing body param for create/update bucket (was: swagger_client generated create_bucket requires but does not accept a 'name' parameter)
> 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, 0.2.0
> Reporter: Daniel Chaffelson
> Assignee: Kevin Doran
> Priority: Major
>
> 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)