-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
The generated GetSourcesRhcConnectionWithResponse() function expects an array of RhcConnectionCollections structs. This is wrong. The code should just expect one RhcConnectionCollections struct. This struct contains an array of RhcConnectionRead structs.
I modified the generated code to do the right thing.
We need to figure out if its really the code generator or if the openapi spec has an issue. (A quick peek at the openapi spec thinks its fine).
- Verify the openapi spec
- Update the openapi generator
- Regenerate the sources api code and see if its still busted
- If it is still wrong, we should open a bug on the openapi generator project and try to get this fixed
- clones
-
RHCLOUD-30603 [playbook-dispatcher] sources api generated code expects wrong response
- New