Comments (2)
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!
from msgraph-sdk-code-generator.
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. :)
from msgraph-sdk-code-generator.
Related Issues (20)
- Some targets for link and description annotations obtained from docs contain actual keys HOT 1
- Update metadata collection process to use metadata in Schemas folder in the metadata repo instead of livesite - v1.0
- ItemWithPath fails in latest core (2.0.0) HOT 7
- Set correct return type in PHP Docs for types that clash with PHP keywords HOT 1
- PHP Generation DateTime::RFC3339 is removed HOT 2
- PHP Generation Class Not found HOT 2
- Failing pipeline for generation of v1.0 models[PHP].
- Beta generation and V1 generation hit a race condition on local git status
- Typescript typings - generatinginvalid microsoftgraphbeta.any type
- Name `Microsoft.Graph.Security` Collision Between Namespace and Class FQN HOT 2
- Beta generation fails due to transform adding a removed/non-existent type HOT 2
- Some classes generated in wrong namespaces. Kiota
- Failing generation on beta validation pipeline due to missing IDataSourceWithReferenceRequestBuilder
- OpenAPI update should fail if the result is not a parsable OpenAPI document
- creating the new folder fails if it already exists, we should add -force
- Use only specific documentation version to annotate specified CSDL version
- SDK Generation Failing Since Child Namespace is Defined Before Parent Namespace in Staging Beta Metadata
- This repo is missing important files
- Generate multi
- CSDL source used for generation of OpenAPI documents needs to be selected conditionally
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msgraph-sdk-code-generator.