Assistance to generate C# classes from swagger schema

I have a swagger schema file from a 3rd party supplier that I need to generate my C# classes from.

I have tried to use Visual Studio 2017 with the "REST API Client Code Generator" Visual Studio extension [login to view URL] as it includes 4 different tools (AutoRest, NSwag, OpenAPI & Swagger).

I have created a project and uploaded it to Github [login to view URL]

This contains a VS solution with 4 projects, one project for each tool. I have managed to get NSwag to generate my classes but when deserializing the objects to JSON the result is not what the 3rd party expects. All other tools (AutoRest, OpenAPI & Swagger) throws an exception when trying to generate the classes.

Each project has a unit test that asserts that the JSON from the deserialize objects match the expected JSON by the provider (please see [login to view URL] in the solution root folder).

I only need one of these projects to generate the C# classes and deserialize these objects into JSON that then matches the AirSearchRequestExample.json.

I'm also open to another solution/tool achieve the same outcome.

Also, if the original swagger docs requires any "tweaks", I appreciate if this can be done at runtime so I do not have to remember to manually edit the swagger schema when my 3rd party releases a new version .

Taidot: C# -ohjelmointi, .NET, tietojärjestelmäarkkitehtuuri, JSON

Näytä lisää: generate remote assistance file, generate java classes xsd, generate xml table schema, generate java classes xsd files, generate classes java project, solr schema version performance, generate java classes webservice, sql database generate schema, generate table table schema, generate schema excel, generate schema stored procedure, generate xml schema dynamically vb, generate java classes jsp pages rsa, sql schema tool latest version, using c to generate, using c# to generate, online c programming classes, sze3 c code canoak version 2

Tietoa työnantajasta:
( 1 arvostelu ) Sydney, Australia

Projektin tunnus: #21410556

Myönnetty käyttäjälle:


Hello, My name is Miguel Febres and you can locate my resume and certifications in the following links: [login to view URL] [login to view URL] In my 10+ years of experien Lisää

$500 AUD 2 päivässä
(89 Arvostelua)

9 freelanceria on tarjonnut keskimäärin 522$ tähän työhön


Hi, sir. i read your bid now. i am experienced expert at c/c++, c#/.net, java and have full experience for 14 years. c/c++, c#/.net, java is my top skill and I can give you perfect result. i can provide most quality an Lisää

$500 AUD 7 päivässä
(24 arvostelua)

Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the Lisää

$750 AUD 3 päivässä
(44 arvostelua)

Hi there, please leave a message on my chat so we can discuss the budget and deadline of the project. I have read your project description and i'm confident i can do this project for you perfectly. Thanks .

$750 AUD 3 päivässä
(17 arvostelua)

We already have built several Marketplace platforms like [login to view URL] [login to view URL] Ready to discuss it briefly with you. ..

$650 AUD 5 päivässä
(15 arvostelua)

Dear, Sir. Call me, KuanHui. I read through the job details extremely carefully and I am absolutely sure that i can complete your project on time and within your budget. I hope to discuss more with you. Thank you so mu Lisää

$300 AUD 7 päivässä
(13 arvostelua)

hello ! I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. Awaiting an affirmative response from Lisää

$500 AUD 7 päivässä
(3 arvostelua)

Hi. I'm very interested in your project and I can do your work well. I'm a C# expert and have many experiences in .NET, .NET core, ASP.NET, ASP.NET core or something. Hope to contact. Thank you.

$500 AUD 7 päivässä
(4 arvostelua)

Hi there. I am very interested in your project. I have read your project request and I can start your project immediately. I have rich C# experience over 9+ years. So I can do whatever you want around C#. Feel free c Lisää

$250 AUD 7 päivässä
(12 arvostelua)