fix: add integer and minimum validation for limit parameter
HEY @MaheshtheDev @Dhravya I was trying to integrate the api to lsit the documents , i accidently put negative number and it returned , there i catched one bug , so i tried to test it on rest of the things also
I found this
- It is not working on decimal numbers [ Returning on server error]
- It is returning even on negative numbers
I have added fixes for it and tested it . Please review and Merge
How to use the Graphite Merge Queue
Add the label Main to this PR to add it to the merge queue.
You must have a Graphite account in order to use the merge queue. Sign up using this link.
An organization admin has enabled the Graphite Merge Queue in this repository.
Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.
@MaheshtheDev Can you review this
thanks for your suggestion but these changes doesn't certainly effect on backend. will make sure we do on the backend though