-
Notifications
You must be signed in to change notification settings - Fork 6k
Support for Windows UWP #2241
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
Comments
@jerry1621 Thanks for reporting the issue. Have you opened a ticket with RestSharp to see if they've any plan to support Windows UMP apps? |
@wing328 There is already an issue since August '15, but unfortunately no updates recently (restsharp/RestSharp#745) |
Seems like the PR for supporting UWP has merged: restsharp/RestSharp#780 |
@jerry1621 may I know if it works for you? |
@wing328 Not quite: |
@jerry1621 I would suggest you report your finding to RestSharp team so that they can look into that. |
Does ARM work now? |
@wing328 Unfortunately I got no reaction from RestSharp, but I was able to compile the RestSharp library for ARM-archtiecture and am now doing some further work and testing, because the generated swagger-code still needs some adaptions (mostly because of RestSharp) |
@jerry1621 thanks for doing further work and testing. Can you elaborate on the "adaptions"? Maybe the community can help out on that. |
@wing328 Sure, a few examples:
Those are some things I need to adjust or else I'll get compile-errors... |
Another Update:
All in all those are minor adaptions and now everything works like expected :) |
@jerry1621 thanks for sharing the above with us. Do you mind generating the C# SDK for UMP using https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/test/resources/2_0/petstore.json and then upload it to github to send it directly to me so that we can use reverse engineering to plot back the change to the C# mustache template? |
@wing328 Am I getting you right, that you ask me to generate the C# code for that petstore.json and then do those necessary adaptions to send the changed code it to you? |
@jerry1621 yes, or you can provide the one you've already customized to me via my email address (wing328 at yahoo.com) so that I can make the comparison to figure out what changes are needed. |
Submitted #2427 to support UWP |
#2427 merged into master. |
Question:
I'd like to use Swagger-Api for a Windows UWP project, but the RestSharp-Library #, which is used for C#-generation (#673), unfortunately has no support for Windows UWP-Apps...
Any way to solve this issue?
The text was updated successfully, but these errors were encountered: