Skip to content

Commit

Permalink
de-dup param names
Browse files Browse the repository at this point in the history
  • Loading branch information
djbusby committed Jan 26, 2024
1 parent 5189655 commit 8ff77bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions openapi/paths/_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@
/b2b/outgoing/{id}/item:
$ref: './b2b/single-item-create.yaml'

/b2b/outgoing/{id}/item/{id}:
/b2b/outgoing/{id}/item/{iid}:
$ref: './b2b/single-item-single.yaml'

/b2b/outgoing/{id}/file/{id}:
/b2b/outgoing/{id}/file/{fid}:
$ref: './b2b/single-file.yaml'

/b2b/outgoing/{id}/commit:
Expand All @@ -236,7 +236,7 @@
/b2b/outgoing/{id}/item:
$ref: './b2b/single-item-create.yaml'

/b2b/outgoing/{id}/item/{id}:
/b2b/outgoing/{id}/item/{iid}:
$ref: './b2b/single-item-single.yaml'

/b2b/incoming/{id}/commit:
Expand Down
2 changes: 1 addition & 1 deletion openapi/paths/b2b/single-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ get:
required: true
schema:
type: string
- name: id
- name: fid
description: The File ID
in: path
required: true
Expand Down
6 changes: 6 additions & 0 deletions openapi/paths/b2b/single-item-single.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ get:
required: true
schema:
type: string
parameters:
- name: iid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
Expand Down

0 comments on commit 8ff77bb

Please sign in to comment.