local ____lualib = require("lualib_bundle")
local __TS__ParseInt = ____lualib.__TS__ParseInt
local __TS__Unpack = ____lualib.__TS__Unpack
local __TS__ObjectAssign = ____lualib.__TS__ObjectAssign
local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
local __TS__SourceMapTraceBack = ____lualib.__TS__SourceMapTraceBack
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["10"] = 7,["11"] = 10,["12"] = 12,["13"] = 12,["14"] = 12,["15"] = 13,["16"] = 14,["17"] = 15,["20"] = 16,["21"] = 17,["22"] = 12,["23"] = 12,["24"] = 27,["25"] = 7,["26"] = 30});
local ____exports = {}
____exports.responses = function(____, responseRefs)
    local res = {}
    __TS__ArrayForEach(
        __TS__ObjectKeys(responseRefs),
        function(____, key)
            local httpStatus = __TS__ParseInt(key)
            local responseRef = responseRefs[httpStatus]
            if not responseRef then
                return
            end
            local response, ref = __TS__Unpack(responseRef)
            res[tostring(key)] = __TS__ObjectAssign({}, response, {content = {["application/json"] = {schema = {["$ref"] = "#/components/schemas/" .. ref}}}})
        end
    )
    return res
end
____exports.body = function(____, schema) return {content = {["application/json"] = {schema = {["$ref"] = "#/components/schemas/" .. schema}}}} end
return ____exports
