fix swagger declaration for source/source endpoint
The generated swagger/openapi code for the java client did not generate the correct classes for the source endpoint because the result type was not set. This MR fixes this issue.
The generated swagger/openapi code for the java client did not generate the correct classes for the source endpoint because the result type was not set. This MR fixes this issue.