const std = @import("std"); const st = @import("root.zig"); const Client = st.http.Client; const Response = st.http.Response; const Wrapper = st.models.Wrapper; const Query = st.models.Query; const ships = st.models.ships; pub fn listShips(cl: *Client, query: Query) !Response([]ships.Ship) { return cl.get( Wrapper([]ships.Ship), "/my/ships{f}", .{query}, .agent, ); }