UNPKG

infinity-forge

Version:
10 lines 564 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRequestBody = getRequestBody; function getRequestBody(methodInfo) { var _a, _b; var requestBody = methodInfo === null || methodInfo === void 0 ? void 0 : methodInfo.requestBody; var schemaBody = (_b = (_a = requestBody === null || requestBody === void 0 ? void 0 : requestBody.content) === null || _a === void 0 ? void 0 : _a["application/json"]) === null || _b === void 0 ? void 0 : _b.schema; return schemaBody; } //# sourceMappingURL=get-request-body.js.map