openapi-generator/bin/security
manuc66 a41e8bed97 [csharp] Support inheritance instead of duplicating parent properties in derived classes (#5922)
* [csharp] Explicitly set supportsInheritance

* [csharp] set supportsInheritance for client

This includes supportsInheritance only for the client codegen at the
moment, because setting in AbstractCSharpCodegen would require the
change to be tested in all derived generators, possibly including
similar template changes to this commit's.

* include nice improvement of https://github.com/jimschubert/swagger-codegen/tree/csharp/3829 and leverage https://github.com/manuc66/JsonSubTypes for subtype deserialization

* remove duplicate base validations

* remove useless tests

* restore documentation for properties coming from parent

* launch bin/security/csharp-petstore.sh

* it's impossible to call an explicitly implemented interface-method on the base class
(https://stackoverflow.com/questions/5976216/how-to-call-an-explicitly-implemented-interface-method-on-the-base-class)

* restore portion of code that was lost

* regenerate more

* fix missing using

* take the multi .net compatible revision

* keep generated model simple when no hierarchy involved

* regenerate with:
- bin/csharp-petstore-all.sh && bin/security/csharp-petstore.sh
- bin/csharp-dotnet2-petstore.sh && bin/csharp-petstore.sh && bin/csharp-petstore-netcore-project.sh && bin/csharp-petstore-net-standard.sh && bin/csharp-property-changed-petstore.sh

* fix sln indentation and the missing windows runner for dotnet2

* fix inheritance GetHashCode and Equals

* override instead of hiding the base method
+ fix the csharp-property-changed-petstore.bat

* By default the value of the discriminator property must be the name of the current schema

* Add test for subtype deserialisation from parent type

* add missing '.bat' and use the 'call' template from javascript-petstore-all.bat

add missing file to trigger it on windows

* fix default value bug

* cleanup copyright information

* formatting after merge

* fix merge

* applying bin/csharp-petstore-all.sh

* applying bin/security/csharp-petstore.sh
2017-09-06 17:22:20 +08:00
..
windows [csharp] Support inheritance instead of duplicating parent properties in derived classes (#5922) 2017-09-06 17:22:20 +08:00
csharp-petstore.sh [C#] Fix guid for C# security samples (#5283) 2017-04-04 14:38:47 +08:00
go-petstore.sh Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
java-petstore-okhttp-gson.sh better code injection handling for java 2016-06-29 02:00:43 +08:00
javascript-closure-angular.sh better code injection handling for javascript closure client 2016-06-29 22:07:14 +08:00
javascript-petstore.sh [CLI] #5147: make -D work like system properties (#5191) 2017-06-16 17:29:44 +08:00
lumen-petstore-server.sh apply security fix to php lumne, silex, slim 2016-06-28 12:21:41 +08:00
objc-petstore.sh Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
perl-petstore.sh better code injectino handling for perl client 2016-06-28 16:37:33 +08:00
php-petstore.sh apply security fix to php lumne, silex, slim 2016-06-28 12:21:41 +08:00
python-petstore.sh better code injection handling for python 2016-06-28 17:07:50 +08:00
qt5cpp-petstore.sh Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
ruby-petstore.sh better code injection handling for ruby 2016-06-28 17:36:00 +08:00
run-all-petstore-security-test Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
scala-petstore.sh Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
silex-petstore-server.sh apply security fix to php lumne, silex, slim 2016-06-28 12:21:41 +08:00
slim-petstore-server.sh apply security fix to php lumne, silex, slim 2016-06-28 12:21:41 +08:00
swift-petstore.sh Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
typescript-angular2.sh fix window batch scripts after ts angular generator rename 2017-07-14 17:45:56 +08:00
typescript-angular.sh Add more security samples (#3344) 2016-07-12 19:51:28 +08:00
typescript-fetch-petstore.sh [Typescript-Fetch] Support additionalproperties, Enum, Auth and more. (#6130) 2017-08-25 23:26:32 +08:00
typescript-jquery-all.sh [TypeScript-jquery] set default return type as any (#5630) 2017-05-14 11:36:09 +08:00
typescript-node.sh Add more security samples (#3344) 2016-07-12 19:51:28 +08:00