Skip to content

Commit 946173f

Browse files
committed
Fix IQDBResponse score type
Fixes #5
1 parent 6255b8c commit 946173f

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

api/api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ paths:
837837
/users/{idOrName}/upload_limit.json:
838838
get:
839839
$ref: "./paths/users/upload_limit.yaml"
840-
/users/{id}/flush_favorites.json:
840+
/users/{idOrName}/flush_favorites.json:
841841
post:
842842
$ref: "./paths/users/flush_favorites.yaml"
843843
/users/{idOrName}/fix_counts.json:

api/components/schemas/iqdbResponse.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ properties:
1010
post_id:
1111
type: integer
1212
score:
13-
type: integer
13+
type: number
14+
format: "float"
15+
minimum: 0
16+
maximum: 100
1417
post:
1518
type: object
1619
required:
1720
- posts
1821
properties:
1922
posts:
20-
$ref: "./iqdbPost.yaml"
23+
$ref: "./iqdbPost.yaml"

0 commit comments

Comments
 (0)