//! There should not be any http specific stuff in here, //! only the specific api endpoints. const std = @import("std"); const http = @import("http"); const Interface = http.handler.Interface; const modules = .{ @import("hello-json.zig"), @import("hello-param.zig"), @import("hello-body.zig"), }; pub const interfaces: []const Interface = ifs: { var ifs: []const Interface = &.{}; for (modules) |module| { const interface: []const Interface = &.{ module.ctx.interface() }; ifs = ifs ++ interface; } break :ifs ifs; }; test { _ = std.testing.refAllDecls(@This()); }