Closed BlackmanCC closed 3 years ago
see https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/basic-writing-and-formatting-syntax#quoting-code, formatting will make above easier to read
@larshp Thanks for the hint. I think it is m ore readable now.
@larshp The coding where DATA is added can be found in ZCL_SWAG_SPEC->REPSPONSE
lv_string = |"{ <ls_parameter>-type }":\{"type": "object","properties": \{"DATA": \{{ lv_type }\}\}\}|.
I think this is quite similar to #24 . I close this issue and continue with #24.
The current implementation builds definitions/models as following:
There ist always a bracket with "DATA:", then "type: "object""
When I look at the swagger specification https://swagger.io/specification/v2/
and the swagger petstore sample, i cannot find any DATA bracket.
Would it be better it it was like this?
What do you think?