I am trying to develop a class object for use in a C# program. But AutoRest is unable to parse the generated swagger file.
Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.($.definitions.ISheetDocTemplateDBO.properties.reportfile.type)
FATAL: swagger-document/individual/schema-validator - FAILED
FATAL: Error: [OperationAbortedException
If I remove the reportfile type from the properties of ISheetDocTemplateDBO, I then get the next issue.
FATAL: System.Collections.Generic.KeyNotFoundException: The 'produces' of 'createBlog' requires that schema 'ResponseDBO' models a stream/binary data (e.g. 'type: string, format: binary'), however 'ResponseDBO' is an object schema (which would require 'produces' of 'application/json' or 'application/xml'). Please adjust either the 'produces' or the response schema to match your service's behavior.
Anyone know what the issue could be? I'm using the swagger.json file generated by the site itself.
Thanks.
]]>