UNPKG

uspring

Version:

A very fast Webserver which has interface like springboot

15 lines (14 loc) 773 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Expression; (function (Expression) { Expression["$Method"] = "$method"; Expression["RequestedMediaType"] = "$request.header.accept"; Expression["RequestParameter"] = "$request.path.id"; Expression["RequestBodyProperty"] = "$request.body#/user/uuid"; Expression["$URL"] = "$url"; Expression["ResponseValue"] = "$response.body#/status"; Expression["ResponseHeader"] = "$response.header.Server"; })(Expression = exports.Expression || (exports.Expression = {})); // {expression} Path Item Object A Path Item Object used to define a callback request and expected responses. A complete example is available. // This object MAY be extended with Specification Extensions.