File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ public CSharpClientCodegen() {
252252
253253 CliOption disallowAdditionalPropertiesIfNotPresentOpt = CliOption .newBoolean (
254254 CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT ,
255- CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .TRUE .toString ());
255+ CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .FALSE .toString ());
256256 Map <String , String > disallowAdditionalPropertiesIfNotPresentOpts = new HashMap <>();
257257 disallowAdditionalPropertiesIfNotPresentOpts .put ("false" ,
258258 "The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications." );
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ public CSharpReducedClientCodegen() {
187187
188188 CliOption disallowAdditionalPropertiesIfNotPresentOpt = CliOption .newBoolean (
189189 CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT ,
190- CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .TRUE .toString ());
190+ CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .FALSE .toString ());
191191 Map <String , String > disallowAdditionalPropertiesIfNotPresentOpts = new HashMap <>();
192192 disallowAdditionalPropertiesIfNotPresentOpts .put ("false" ,
193193 "The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications." );
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ public GoClientCodegen() {
140140 // option to change how we process + set the data in the 'additionalProperties' keyword.
141141 CliOption disallowAdditionalPropertiesIfNotPresentOpt = CliOption .newBoolean (
142142 CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT ,
143- CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .TRUE .toString ());
143+ CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .FALSE .toString ());
144144 Map <String , String > disallowAdditionalPropertiesIfNotPresentOpts = new HashMap <>();
145145 disallowAdditionalPropertiesIfNotPresentOpts .put ("false" ,
146146 "The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications." );
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ public PowerShellClientCodegen() {
559559 // option to change how we process + set the data in the 'additionalProperties' keyword.
560560 CliOption disallowAdditionalPropertiesIfNotPresentOpt = CliOption .newBoolean (
561561 CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT ,
562- CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .TRUE .toString ());
562+ CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .FALSE .toString ());
563563 Map <String , String > disallowAdditionalPropertiesIfNotPresentOpts = new HashMap <>();
564564 disallowAdditionalPropertiesIfNotPresentOpts .put ("false" ,
565565 "The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications." );
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ public PythonClientCodegen() {
161161 // option to change how we process + set the data in the 'additionalProperties' keyword.
162162 CliOption disallowAdditionalPropertiesIfNotPresentOpt = CliOption .newBoolean (
163163 CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT ,
164- CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .TRUE .toString ());
164+ CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .FALSE .toString ());
165165 Map <String , String > disallowAdditionalPropertiesIfNotPresentOpts = new HashMap <>();
166166 disallowAdditionalPropertiesIfNotPresentOpts .put ("false" ,
167167 "The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications." );
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ public PythonPydanticV1ClientCodegen() {
170170 // option to change how we process + set the data in the 'additionalProperties' keyword.
171171 CliOption disallowAdditionalPropertiesIfNotPresentOpt = CliOption .newBoolean (
172172 CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT ,
173- CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .TRUE .toString ());
173+ CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .FALSE .toString ());
174174 Map <String , String > disallowAdditionalPropertiesIfNotPresentOpts = new HashMap <>();
175175 disallowAdditionalPropertiesIfNotPresentOpts .put ("false" ,
176176 "The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications." );
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ public RClientCodegen() {
225225 // option to change how we process + set the data in the 'additionalProperties' keyword.
226226 CliOption disallowAdditionalPropertiesIfNotPresentOpt = CliOption .newBoolean (
227227 CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT ,
228- CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .TRUE .toString ());
228+ CodegenConstants .DISALLOW_ADDITIONAL_PROPERTIES_IF_NOT_PRESENT_DESC ).defaultValue (Boolean .FALSE .toString ());
229229 Map <String , String > disallowAdditionalPropertiesIfNotPresentOpts = new HashMap <>();
230230 disallowAdditionalPropertiesIfNotPresentOpts .put ("false" ,
231231 "The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications." );
You can’t perform that action at this time.
0 commit comments