Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Releases: raml-org/ramldt2jsonschema

0.1.5

17 Apr 22:02
Compare
Choose a tag to compare

Fixes

  • Union type is broken when union with array (datatype-expansion dependency version++) #46

0.1.4

03 Apr 22:31
Compare
Choose a tag to compare

Fixes

  • type conversion is broken with v0.1.3 #42
  • Duplicate entry items in required array v0.1.3 #43

0.1.3

15 Mar 21:56
Compare
Choose a tag to compare
  • made output of js2dt less verbose #18
    • removed required: true (RAML defaults to true)
    • replaced required: false by <property>?
    • for properties that only have a {"type" : <type>} defined in JSON schema, write it in the form <propertyName>: <type> in RAML
  • dt2js now converts RAML pattern properties to JSON object.patternProperties #18
  • support for external includes #18
  • dt2js: wrong JSON schema from RAML Array of union type #15
  • type conversation is broken for integer & boolean #31

0.1.2

09 Jan 03:13
Compare
Choose a tag to compare
  • Added support for RAML libraries (#24)
  • Fixed an issue with the conversion of "additionalProperties" in js2dt (#21)
  • Fixed wrong conversion of integers and booleans from YAML to JSON in dt2js (#25)

0.1.1

13 Dec 19:20
Compare
Choose a tag to compare
  • Added support for !includes (#9)
  • Fixed an issue when inputed RAML type in dt2js did not exist (#19)

A few enhancements

21 Oct 22:18
Compare
Choose a tag to compare
  • RAML displayName is now translated to JSON schema title, and vice-versa
  • JSON schema properties: dependencies, exclusiveMaximum, exclusiveMinimum and additionalItems are now dropped in js2dt
  • JSON schema format is now translated to an equivalent RAML pattern
  • JSON schema patternProperties are now translated to RAML pattern properties

Initial version

27 Oct 16:31
Compare
Choose a tag to compare

Initial version according to Phase 1.