https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35761
--- Comment #61 from Tomás Cohen Arazi (tcohen) <[email protected]> --- Created attachment 185963 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185963&action=edit Bug 35761: Fix API spec for sftp_servers test endpoint response The /sftp_server/{id}/test_connection endpoint was incorrectly documented as returning an sftp_server object with items array structure. Fixed by: - Creating proper sftp_test_result.yaml definition - Documenting the actual response structure with test step objects - Each test step contains: passed (boolean), err (string), msg (string) - Updated test_sftp_servers.yaml to reference correct schema - Added sftp_test_result definition to main swagger.yaml The response structure matches what the controller actually returns and what the existing tests expect. I also corrected a missing newline error highlighted by: ``` prove xt/find-missing-new-lines-at-the-end-of-file.t ``` Signed-off-by: Tomas Cohen Arazi <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
