-
Notifications
You must be signed in to change notification settings - Fork 74
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
Does this generate a javascript/typescript library to call all the MSGraph API? #22
Comments
This simply helps you generate code based on published OData metadata. It helps you to work with anything provided by an OData resource without manually writing a corresponding class for every Entity or Complex Type. A more concrete example: a version of this was used to generate the OneDrive Python SDK based on the OneDrive metadata. If you take a look at the Models, you can see that every EntityType in the metadata doc has a corresponding Python class. We didn't write all that by hand - we wrote an EntityType template, then pointed this tool at the metadata doc. The output is the files you see there. There currently are no TypeScript templates. However, using the templates in the repository as a guide, one could write the appropriate TypeScript templates to generate the whatever is needed. I hope that answers your questions! |
I see, so it creates just the entities. Thanks for the reply! Is there a way to deserialize the metadata into EntityFramework or something, and then create a SQL Server DB from it? Or any way to get swagger/OAI doc from/for the Microsoft graph? Also curious if you know how to get TypeScript/javascript client library to call the Microsoft graph API? coming soon? I am mainly curious for Angular 2. Thanks! This all seems related to MSGraph SDK. :) |
I can't quite understand what this does. Does this generate a javascript/typescript library to call all the MSGraph API? What (else) is out there currently that can help have some Typescript library to call all the MSGraph beta API? thx
The text was updated successfully, but these errors were encountered: