Skip to content

Commit

Permalink
NIFI-4835 Corrects Swagger spec response types in FlowResource
Browse files Browse the repository at this point in the history
  • Loading branch information
kevdoran authored and mcgilman committed Mar 8, 2018
1 parent fdca7d0 commit 79fa4ad
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ public Response getBuckets(
@Consumes(MediaType.WILDCARD)
@Produces(MediaType.APPLICATION_JSON)
@Path("registries/{registry-id}/buckets/{bucket-id}/flows")
@ApiOperation(value = "Gets the flows from the specified registry and bucket for the current user", response = BucketsEntity.class, authorizations = {
@ApiOperation(value = "Gets the flows from the specified registry and bucket for the current user", response = VersionedFlowsEntity.class, authorizations = {
@Authorization(value = "Read - /flow")
})
@ApiResponses(value = {
Expand Down Expand Up @@ -1409,7 +1409,9 @@ public Response getFlows(
@Consumes(MediaType.WILDCARD)
@Produces(MediaType.APPLICATION_JSON)
@Path("registries/{registry-id}/buckets/{bucket-id}/flows/{flow-id}/versions")
@ApiOperation(value = "Gets the flow versions from the specified registry and bucket for the specified flow for the current user", response = BucketsEntity.class, authorizations = {
@ApiOperation(value = "Gets the flow versions from the specified registry and bucket for the specified flow for the current user",
response = VersionedFlowSnapshotMetadataSetEntity.class,
authorizations = {
@Authorization(value = "Read - /flow")
})
@ApiResponses(value = {
Expand Down

0 comments on commit 79fa4ad

Please sign in to comment.