Skip to content

Commit

Permalink
Set default value for all amounts in swagger (#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
itaiad200 authored Dec 7, 2020
1 parent e4ba154 commit c5a4955
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/assets/js/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,7 @@ paths:
- in: query
name: amount
type: integer
default: 100
responses:
200:
description: commit log
Expand Down Expand Up @@ -1584,6 +1585,7 @@ paths:
- in: query
name: amount
type: integer
default: 100
get:
tags:
- branches
Expand Down Expand Up @@ -1637,6 +1639,7 @@ paths:
- in: query
name: amount
type: integer
default: 100
get:
tags:
- refs
Expand Down Expand Up @@ -1911,6 +1914,7 @@ paths:
- in: query
name: amount
type: integer
default: 100
get:
tags:
- objects
Expand Down Expand Up @@ -2048,7 +2052,7 @@ paths:
- export
- branches
operationId: repair
summary: mark failed export as repaired
summary: set continuous export state as repaired
responses:
201:
description: continuous export status successfully changed to repaired
Expand Down Expand Up @@ -2163,3 +2167,4 @@ paths:
$ref: "#/definitions/config"
401:
$ref: "#/responses/Unauthorized"

4 changes: 4 additions & 0 deletions swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,7 @@ paths:
- in: query
name: amount
type: integer
default: 100
responses:
200:
description: commit log
Expand Down Expand Up @@ -1584,6 +1585,7 @@ paths:
- in: query
name: amount
type: integer
default: 100
get:
tags:
- branches
Expand Down Expand Up @@ -1637,6 +1639,7 @@ paths:
- in: query
name: amount
type: integer
default: 100
get:
tags:
- refs
Expand Down Expand Up @@ -1911,6 +1914,7 @@ paths:
- in: query
name: amount
type: integer
default: 100
get:
tags:
- objects
Expand Down

0 comments on commit c5a4955

Please sign in to comment.