Skip to content

Commit

Permalink
Allow "," in query param
Browse files Browse the repository at this point in the history
express-validator-openapi apparently does not allow "," in the query param

Causing "Parameter 'chainIds' must be url encoded. It's value may not contain reserved characters"

Fix by allowing reserved characters.
  • Loading branch information
kuzdogan committed Aug 10, 2023
1 parent 7193476 commit a684be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ paths:
schema:
type: string
format: comma-separated-sourcify-chainIds
allowReserved: true
responses:
"200":
description: OK. Also returns `200` with status `false` when not found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ paths:
schema:
type: string
format: comma-separated-sourcify-chainIds
allowReserved: true
responses:
"200":
description: OK
Expand Down

0 comments on commit a684be0

Please sign in to comment.