NotSupportedException when generating Azure API App Client from swagger file NotSupportedException when generating Azure API App Client from swagger file azure azure

NotSupportedException when generating Azure API App Client from swagger file


I was having the same problem, I had used/enabled "c.UseFullTypeNameInSchemaIds" in SwaggerConfig.cs , this caused problems: Error generating syntax tree + failure during generation of method + failure during serialization generation of method + System.NotSupportedException The consequence of this was that the definition "items": { "$ref":" in .json was generated incorrect.