Open varon opened 5 months ago
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 Tags
being not supported is known and the fix should be doable but the other two errors, I am not sure about.
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:
File size too big: 25 MB are allowed, 73 MB were attempted to upload.
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 ./src/hawaii.config
and then run the tool in debug mode (it is just an executable, no magic here)
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!