UNPKG

@sap-cloud-sdk/odata-v4

Version:

SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.

13 lines 431 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.extractODataEtag = extractODataEtag; /** * Extractor for the ETag for OData v4 responses used in {@link entityDeserializer}. * @param json - Response data from which the ETag is extracted. * @returns The ETag. * @internal */ function extractODataEtag(json) { return json?.['@odata.etag']; } //# sourceMappingURL=extract-odata-etag.js.map