Skip to content

Commit

Permalink
fix: update OpenAPI schema to use 'minimum' instead of 'min' for inte…
Browse files Browse the repository at this point in the history
…ger validation
  • Loading branch information
12138zhen committed Dec 28, 2024
1 parent 4faea5a commit dc3319c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1146,13 +1146,13 @@ paths:
in: query
schema:
type: integer
min: 1
minimum: 1
default: 1
- name: per_page
in: query
schema:
type: integer
min: 1
minimum: 1
default: 50
responses:
200:
Expand Down Expand Up @@ -1241,13 +1241,13 @@ paths:
in: query
schema:
type: integer
min: 1
minimum: 1
default: 1
- name: per_page
in: query
schema:
type: integer
min: 1
minimum: 1
default: 50
responses:
200:
Expand Down

0 comments on commit dc3319c

Please sign in to comment.