Skip to content

Commit

Permalink
Allow pagination prefix, after params to be empty strings
Browse files Browse the repository at this point in the history
Apparently Kin now enforces even more OpenAPI rules.
  • Loading branch information
arielshaqed committed Apr 10, 2024
1 parent 15f6aab commit a0b0f76
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 73 deletions.
5 changes: 4 additions & 1 deletion api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,15 @@ components:
description: return items prefixed with this value
schema:
type: string
allowEmptyValue: true

PaginationAfter:
in: query
name: after
description: return items after this value
schema:
type: string
allowEmptyValue: true

PaginationAmount:
in: query
Expand All @@ -69,7 +71,8 @@ components:
description: delimiter used to group common prefixes by
schema:
type: string

allowEmptyValue: true

IfNoneMatch:
in: header
name: If-None-Match
Expand Down
Loading

0 comments on commit a0b0f76

Please sign in to comment.