openapi-generator/samples/client/petstore/csharp
Jim Schubert 0e34bcf4e4 [csharp] ctor params should always be camelCase (#7519)
* [csharp] ctor params should always be camelCase

After PR #6305, var names defaulted to PascalCase results in constructor
arguments also being PacalCase. Model properties and constructor
arguments have no reason to be the same case, and in fact may cause
issues (`name = name` will result in a compilation error).

This commit forces all constructor params in models to lowerCase.

This is a necessary change, for instance, if client SDK consumers assign
using named args:

var a = new Model(first = "", second = "")

The PacalCase default and update to constructor arg casing will break
existing consumers of the client.

See #7070 for more details and discussion.

* [csharp] Regenerate samples

* [csharp] Remove client models generated from a different spec.

* [csharp] Escape reserved words on camelcase/lowercase lambdas

* [csharp] Regenerate samples
2018-02-06 22:54:26 +08:00
..
SwaggerClient [csharp] ctor params should always be camelCase (#7519) 2018-02-06 22:54:26 +08:00
SwaggerClientNet35 [csharp] ctor params should always be camelCase (#7519) 2018-02-06 22:54:26 +08:00
SwaggerClientNet40 [csharp] ctor params should always be camelCase (#7519) 2018-02-06 22:54:26 +08:00
SwaggerClientNetCoreProject fix net35 with JsonSubTypes (#7043) 2017-12-22 00:31:44 +08:00
SwaggerClientNetStandard [csharp] ctor params should always be camelCase (#7519) 2018-02-06 22:54:26 +08:00
SwaggerClientWithPropertyChanged [csharp] ctor params should always be camelCase (#7519) 2018-02-06 22:54:26 +08:00