openapi-generator/samples/server
Benjamin Douglas ab69ce5dc3 Add null pointer check to add/put methods (#5385) (#5386)
Commit e3d04ee01 (issue #5240) introduced unsafe add/put methods for optional
list/map parameters. This change maintains the spirit of issue #5240 (optional
containers are null by default) while still making add/put calls safe. It does
this by checking for null first and, if so, initializing it with an empty
container.

Also updated the affected samples using the various scripts in bin/.
2017-04-13 17:37:49 +08:00
..
petstore Add null pointer check to add/put methods (#5385) (#5386) 2017-04-13 17:37:49 +08:00
petstore-security-test Update security samples: server (#5285) 2017-04-04 14:44:59 +08:00