You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|* todo, content type = ''{ ls_content-type }''\\n|.
@@ -340845,7 +340849,7 @@ class zcl_oapi_generator_v2 {
340845
340849
}
340846
340850
}
340847
340851
if (abap.compare.initial(ls_operation.get().request_body.get().schema_ref) === false) {
340848
-
rv_abap.set(abap.operators.concat(rv_abap,abap.operators.concat(new abap.types.String().set(` DATA ${abap.templateFormatting(ls_operation.get().abap_name)} TYPE ${abap.templateFormatting(this.ms_input.get().intf)}=>${abap.templateFormatting(((await this.find_schema({iv_name: ls_operation.get().request_body.get().schema_ref}))).get().abap_name)}.\n`),abap.operators.concat(new abap.types.String().set(` /ui2/cl_json=>deserialize(\n`),abap.operators.concat(new abap.types.String().set(` EXPORTING\n`),abap.operators.concat(new abap.types.String().set(` json = server->request->get_cdata( )\n`),abap.operators.concat(new abap.types.String().set(` CHANGING\n`),new abap.types.String().set(` data = ${abap.templateFormatting(ls_operation.get().abap_name)} ).\n`))))))));
340852
+
rv_abap.set(abap.operators.concat(rv_abap,abap.operators.concat(new abap.types.String().set(` DATA ${abap.templateFormatting(ls_operation.get().abap_name)} TYPE ${abap.templateFormatting(this.ms_input.get().intf)}=>${abap.templateFormatting(((await this.find_schema({iv_name: ls_operation.get().request_body.get().schema_ref}))).get().abap_name)}.\n`),abap.operators.concat(new abap.types.String().set(` /ui2/cl_json=>deserialize(\n`),abap.operators.concat(new abap.types.String().set(` EXPORTING\n`),abap.operators.concat(new abap.types.String().set(` json = server->request->get_cdata( )\n`),abap.operators.concat(new abap.types.String().set(` pretty_name = /ui2/cl_json=>pretty_mode-camel_case\n`),abap.operators.concat(new abap.types.String().set(` CHANGING\n`),new abap.types.String().set(` data = ${abap.templateFormatting(ls_operation.get().abap_name)} ).\n`)))))))));
340849
340853
lv_parameters.set(abap.operators.concat(lv_parameters,new abap.types.String().set(`\n body = ${abap.templateFormatting(ls_operation.get().abap_name)}`)));
340850
340854
} else if (abap.compare.initial(ls_operation.get().request_body.get().schema) === false) {
340851
340855
lv_parameters.set(abap.operators.concat(lv_parameters,new abap.types.String().set(`\n body = 'todo'`)));
@@ -340945,7 +340949,7 @@ class zcl_oapi_generator_v2 {
340945
340949
rv_abap.set(abap.operators.concat(rv_abap,new abap.types.String().set(` WHEN '${abap.templateFormatting(ls_content.get().type)}'.\n`)));
340946
340950
if (abap.compare.eq(ls_content.get().type, new abap.types.Character(16).set('application/json')) || abap.compare.cp(ls_content.get().type, new abap.types.Character(19).set('application/*#+json'))) {
rv_abap.set(abap.operators.concat(rv_abap,new abap.types.String().set(`* todo, content type = '${abap.templateFormatting(ls_content.get().type)}'\n`)));
0 commit comments