Skip to content

Commit

Permalink
Deploying to gh-pages from @ 7e3e17a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaptoss committed Jul 5, 2024
1 parent 38e1042 commit 5604fbf
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
23 changes: 23 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@
},
{
"$ref": "#/components/parameters/pageOrder"
},
{
"in": "query",
"name": "count",
"description": "Count total number of users.",
"required": false,
"schema": {
"type": "boolean",
"example": true
}
}
],
"responses": {
Expand All @@ -111,6 +121,19 @@
"items": {
"$ref": "#/components/schemas/Balance"
}
},
"meta": {
"type": "object",
"required": [
"total_count"
],
"properties": {
"total_count": {
"type": "integer",
"description": "Appears when `count=true` is specified",
"example": 18
}
}
}
}
}
Expand Down
16 changes: 16 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ paths:
- $ref: '#/components/parameters/pageLimit'
- $ref: '#/components/parameters/pageNumber'
- $ref: '#/components/parameters/pageOrder'
- in: query
name: count
description: Count total number of users.
required: false
schema:
type: boolean
example: true
responses:
'200':
description: Success
Expand All @@ -80,6 +87,15 @@ paths:
type: array
items:
$ref: '#/components/schemas/Balance'
meta:
type: object
required:
- total_count
properties:
total_count:
type: integer
description: Appears when `count=true` is specified
example: 18
'400':
$ref: '#/components/responses/invalidParameter'
'409':
Expand Down

0 comments on commit 5604fbf

Please sign in to comment.