-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.14.5, 7.15.0-alpha3
-
None
-
None
Observed Behavior (Required on creation):
When looking at it in swaggerui and also the openapi.json file itself, the following endpoints only have one response type for the 200 status response. However, there are two response types defined in the corresponding freemarker file. (Additionally, if it is present, the application/xhtml+xml examples are also not rendered correctly):
- /task/{id}/deployed-form
- /process-definition/{id}/deployed-start-form
- /history/process-instance/report
Expected behavior (Required on creation):
All response types should be present in the openapi.json
Root Cause (Required on prioritization):
The problem is that the second response overwrites the first as it duplicates the "200" key. This part probably requires manual json or an adjustment of the macros.
Hints (Optional):
This might also affect other endpoints. So it would make sense to check the macro for response and see if we can at least integrate a warning if a key is overwritten.