Replies: 1 comment
-
There is no "official" way of mocking Microsoft Graph APIs. Like you noticed, Dev Proxy isn't tied specifically to Microsoft Graph. That said, we offer ready-to-use mocks based on the official Microsoft Graph API docs. We refresh them regularly to ensure that we include the latest changes. The sample is open-source, so if you see something that isn't right, you can raise an issue or even submit a PR with the necessary changes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot find any docs on how to mock the graph api. I just found this. But from my understanding this project is not specifically tied to the graph api, isnt it?
I know I can deep-mock the graph service client, but it is really cumbersome to do that.
When I use the dev-proxy for testing, how can I make sure that my mocked-responses are type-compatible with the graph api ones. What would happen if the response changes due to an update?
Beta Was this translation helpful? Give feedback.
All reactions