openapi-generator/modules
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
..
swagger-codegen [csharp] ctor params should always be camelCase (#7519) 2018-02-06 22:54:26 +08:00
swagger-codegen-cli update pom.xml in swagger components to 2.3.1 2018-01-13 15:45:05 +08:00
swagger-codegen-maven-plugin Use latest version in dependencies snippet (#7545) 2018-02-01 21:22:41 +08:00
swagger-generator update pom.xml in swagger components to 2.3.1 2018-01-13 15:45:05 +08:00