Input Schema Generator - Deep Merge, Alias, Full Stop Description Validation
This release (v0.3.4) introduces the following features to the input schema generator:
Please check the README and Input Schema Documentation for further details.
Deep Merge overrides
- Deep merging of schema objects at any level
- Choose the Array merging algorithm to use:
concatenate
- merge arrays by concatenating values (default)combineByIndex
- merge/combine arrays by index value- arrays of objects will merge by index (if possible)
- other types will concatenate (ignoring value duplication overlap)
overwriteByIndex
- merge/overwrite arrays by index value- arrays of objects will merge by index (if possible)
- other types will overwrite by index value
overwrite
- overwrite original array with specified array
Alias
- Allow schema keys to be dynamically renamed
- This allows you to build a schema from reusable objects and rename the keys to match the individual operations
Validation of full stops in descriptions
- Automatically checks that all descriptions end in a full stop