Swagger-codegen 2.1.6. With the OpenAPI spec in this Gist:
https://gist.github.com/ggood/099933cdf7aba3cab4867abd500d1b25
the generated c# constructor won't compile, due to a missing argument:
public Foo(string Bar = null, )
{
this.Bar = Bar;
}
This happens when the last property in a definition is readOnly.