@api-components/api-example-generator
Advanced tools
Comparing version
{ | ||
"name": "@api-components/api-example-generator", | ||
"description": "Examples generator from AMF model", | ||
"version": "4.4.19", | ||
"version": "4.4.20", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -337,2 +337,10 @@ import { AmfHelperMixin } from '@api-components/amf-helper-mixin'; | ||
/** | ||
* Computes default enum value for given range. | ||
* | ||
* @param {Object} range AMF's range definition for a shape. | ||
* @return {string|number|boolean|null} Value cast to the corresponding type | ||
*/ | ||
_computeDefaultEnumRangeValue(range: object): string | number | boolean | null; | ||
/** | ||
* Casts the value to given data type represented in AMF notation. | ||
@@ -339,0 +347,0 @@ * |
Sorry, the diff of this file is too big to display
104600
1.32%2949
1.31%