-
Notifications
You must be signed in to change notification settings - Fork 76
Adds detecting minimal permissions. Closes #57 #261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds detecting minimal permissions. Closes #57 #261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only request would be to utilize a kiota generated client to access the DevX API. Let's dogfood as much as possible!
aead4b0
to
5661128
Compare
Do we have it already? If not, do we have all the metadata necessary to generate it, since the API is just in preview? |
Hey @sebastienlevert while I like the idea of dogfooding kiota here, I'm not sure that this is the right project for it.
And all for one web request, one that we don't know if it has an Open API definition to generate from. It's a no from me at present. |
We should have an OpenAPI for it. I understand your concerns, I still would love us to use Kiota here. These concerns are the concerns of any devs wanting to leverage an API. We are no different. If we vote that this is too much, then I think we failed with Kiota. Again, it's not a blocking issue, but we should be looking it at from the angle of let's validate our own patterns. |
OpenAPI for devX API is here https://graphexplorerapi.azurewebsites.net/swagger/index.html @jasonjoh generated a Kiota client DevX API a long time ago. |
At the moment the current version of the OpenAPI definition is not correct for the permissions endpoint based on the shape of the returned object from a POST to permissions Given that this is not in Prod yet we may need to hold this change until we have the change to the DevX API in Prod. |
We agreed to move forward with this PR and then address migration to Kiota in the future release
Adds detecting minimal permissions. Closes #57