Skip to content

Commit

Permalink
fix: single pin I/O in POST operations
Browse files Browse the repository at this point in the history
This removes arrays and replaces them with single object in places
which were missed before when we made the switch to single ops.
Context:
#39 (comment)

Closes #46
  • Loading branch information
lidel committed Aug 11, 2020
1 parent e51e84e commit cb6970c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ipfs-pinning-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PinResults'
$ref: '#/components/schemas/PinStatus'
'400':
$ref: '#/components/responses/BadRequest'
'401':
Expand Down Expand Up @@ -228,9 +228,7 @@ paths:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Pin'
$ref: '#/components/schemas/Pin'
responses:
'202':
description: Accepted
Expand Down

0 comments on commit cb6970c

Please sign in to comment.