- Fixing
raml-1-parser
to version1.1.12
since any newer version currently breaks the generated source
- Fixing
uniqueItems
facet validator in order to properly compare objects
- Adding
Type.clone()
support for enabling runtime customizations - Adding
errorMessages
as a customizable property in the.clone
function - Adding support for functions as error message
- Adding
type
andvariables
to the error message
- Accepting webpack queries to configure generator options
- Adding eslint rules to the project
- Using double brackets for error message variables (ex:
Missing {{name}}
) - Extracted all error messages to a separate constants file
- Using
new RegExp('...')
instead of/.../
to properly escape regexp strings
- The path of missing property errors now points to the actual missing field.
- This feature is controlled through the
missingPropertiesOnTheirPath
option flag
- Fixed a bug that incorrectly resolved supertype name
- Renaming
ctx
tocontext
in the internal variables
- Exposing error messages, making them overridable by the user
- Handling some cases that ended up creating validators with
null
name - Assuming
null
not to be a valid object value - Re-arranging tests code
- Introducing compiler flags
- Setting
patternPropertiesAreOptional: true
by default, so empty objects with pattern properties does not raise an error
- Hiding all dynamically-generated types in an internal object and exposing only types present in the raml file
- Making the
path
andmessage
properties of theRAMLError
enumerable so they can be compared withdeepEqual