I have encountered a strange situation while using mock-api server in order to test Drops.
In particular I noticed a mismatch between the response in the official documentation: https://dev.twitch.tv/docs/api/reference/#update-drops-entitlements and the response I'm getting from the mock server. Below you can see both:
You can notice that in the mock-api there is no "data" property.
Since I don't know which is the real response, and so if the source of truth is the documentation or the mock-api response, I'm not sure this is a proper bug.
In case this is actually a bug, I already have a fix ready for a new PR, but before submitting it I preferred to discuss if it is needed.
Thank you.
Operating System
linux, macOS, windows
Architecture Version (x86, x64, arm, etc)
x86, x64, arm
Steps to reproduce
Start the mock server
Call the endpoint: PATCH /mock/entitlements/drops and check the response, which is different from the one in the official documentation
What is the problem?
I have encountered a strange situation while using mock-api server in order to test Drops. In particular I noticed a mismatch between the response in the official documentation: https://dev.twitch.tv/docs/api/reference/#update-drops-entitlements and the response I'm getting from the mock server. Below you can see both:
Official documentation
Mock API
You can notice that in the mock-api there is no "data" property.
Since I don't know which is the real response, and so if the source of truth is the documentation or the mock-api response, I'm not sure this is a proper bug. In case this is actually a bug, I already have a fix ready for a new PR, but before submitting it I preferred to discuss if it is needed.
Thank you.
Operating System
linux, macOS, windows
Architecture Version (x86, x64, arm, etc)
x86, x64, arm
Steps to reproduce
PATCH /mock/entitlements/drops
and check the response, which is different from the one in the official documentationRelevant log output
No response