This is not a fully working API, I just created a schema in swagger and a mock server in Postman. When trying to validate I’m getting multiple issues.
I’m having a problem with my requests that need an id to retrieve a single user. This id is retrieved when fetching all users and it just picks out a random one. The variable is set to the environment and not empty, yet I’m receiving the following error message:
The path variable “id” needs to be of type number, but we found “{{id}}”
Why is this happening? How can i fix this issue? It’s so weird because the requests work properly, but when trying to validate I’m always getting this error.