local ____lualib = require("lualib_bundle")
local __TS__SourceMapTraceBack = ____lualib.__TS__SourceMapTraceBack
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["5"] = 7,["6"] = 9,["8"] = 12,["15"] = 78,["16"] = 82,["17"] = 83,["19"] = 85,["20"] = 78,["25"] = 262,["26"] = 263,["27"] = 262,["35"] = 339,["36"] = 342,["37"] = 339});
local ____exports = {}
local ____specification_2Dextension = require("openapi3-ts.model.specification-extension")
local SpecificationExtension = ____specification_2Dextension.SpecificationExtension
do
    local ____export = require("openapi3-ts.model.oas-common")
    for ____exportKey, ____exportValue in pairs(____export) do
        if ____exportKey ~= "default" then
            ____exports[____exportKey] = ____exportValue
        end
    end
end
function ____exports.getPath(self, pathsObject, path)
    if SpecificationExtension:isValidExtension(path) then
        return nil
    end
    return pathsObject and pathsObject[path] or nil
end
--- A type guard to check if the given value is a `ReferenceObject`.
-- See https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types
-- 
-- @param obj The value to check.
function ____exports.isReferenceObject(self, obj)
    return Object.prototype.hasOwnProperty(obj, "$ref")
end
--- A type guard to check if the given object is a `SchemaObject`.
-- Useful to distinguish from `ReferenceObject` values that can be used
-- in most places where `SchemaObject` is allowed.
-- 
-- See https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types
-- 
-- @param schema The value to check.
function ____exports.isSchemaObject(self, schema)
    return not Object.prototype.hasOwnProperty(schema, "$ref")
end
return ____exports
