-
Notifications
You must be signed in to change notification settings - Fork 15
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
Microsoft Graph OpenAPI schema produces invalid code (compile errors) #52
Comments
Hi there @varon thanks for filing the issue! Is there any chance you could provide a subset of the schema that repro the issue? I think |
Thank you for the quick answer. Really happy to help - but unfortunately the schema is ~58mb - it may take considerable amounts of time to do that - even editing the file is relatively painful. Perhaps you could try the wget commands I shared? there's an honestly insane amount of errors with it - however Kiota works - at least insofar as MSoft is able to generate their Microsoft Graph NuGet package. https://www.nuget.org/packages/Microsoft.Graph/ |
Any thoughts? Opened up a few smaller PRs - but would love to get the Microsoft schema working with this. Also tried to upload the schema, but it's too large: |
Hi @varon unfortunately I haven't had the time to dig into this properly. These days I have my hands full with my day job. I do try prioritize PR reviews and publishing new packages. Contributions are always welcome 🙏 I will keep you posted if/when I can debug this schema |
@Zaid-Ajaj - if you can give me some steps on how I can even go about testing/fixing this - I'm happy to give it a go - just need some guidance here. |
@varon the easiest way to develop with this tool is to change the contents of |
https://github.com/microsoftgraph/msgraph-metadata/tree/master/openapi/beta
This builds a project successfully, but that project fails to compile... after 15 minutes of turning my computer into a space heater:
Schema was acquired using
wget
,jq
andyj
to get it into a suitable form:The config is something like:
Thank you for making this project as well!
The text was updated successfully, but these errors were encountered: