Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

i have swagger json file. I am using AutoRest to create client side code in C#.

What I have tried:

i am using follwing commad for that,
AutoRest.exe -Namespace MyNamespace -Input swagger.json

but i am getting error "Error generating client model: Please specify a field with type of System.Byte[] to deserialize the file contents to"

Any one have idea what is the issue.

Thanks...
Posted
Updated 18-Oct-16 5:59am
v2
Comments
[no name] 18-Oct-16 8:11am    
https://github.com/Azure/autorest/blob/master/Documentation/cli.md

1 solution

If you google the error you'll see the exact code that throws that exception. For example, AutoRest/OperationBuilder.cs at master · matt-gibbs/AutoRest · GitHub[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900