Skip to content

Releases: apiaryio/drafter

v3.2.2

07 Dec 13:58
Compare
Choose a tag to compare

v3.2.2

v3.2.1

05 Dec 15:37
Compare
Choose a tag to compare

v3.2.1

v3.2.0

28 Nov 13:53
Compare
Choose a tag to compare

v3.2.0

3.1.3

13 Oct 12:19
Compare
Choose a tag to compare

Bug Fixes

  • Handle fixed-type with variable property names when generating JSON Schemas.
    #390
  • Drafter will now check the validity of header names and provide a warning for invalid characters found within a header name. Invalid headers will be skipped in the parse outputs.
    #382
  • Fix handling of escaped parameter identifiers with the older non-MSON parameter syntax.
    #391
  • Rectify JSON Schema generation for variable property names
    #367

3.1.2

07 Oct 07:58
Compare
Choose a tag to compare

Enhancements

  • Add missing sourcemaps for named type references
    #386
  • Warn user on "action" with non-absolute path
    #350

Bug Fixes

  • Prevent crashing and improve structure of result from parsing regarding
    markdown lists.
  • Correctly set the content type for custom JSON Schema.
    #392
  • Fix the JSON Schema generated when using fixed-type attribute
    #389
  • Fix and improve URI Template parameters validation
    #402

3.1.1

06 Sep 21:31
Compare
Choose a tag to compare

Bug Fixes

  • Prevent crashing when no default value is specified for enum members.

3.1.0

01 Sep 19:58
Compare
Choose a tag to compare

Enhancements

  • Warn when primitive values in MSON doesn't follow the given type format
    #334

Bug Fixes

  • While overriding a property on an inherited object, the description and type
    annotation was not being overridden.
    #366
  • Always give an error when unable to find named type.
    snowcrash#354
  • Ensure that escaped values in MSON are not treated as markdown
    #365
  • Fixes detection of parameters using the MSON syntax when the description of a
    parameter includes ( or ).
    snowcrash#345

3.1.0-pre.0

23 Aug 12:41
Compare
Choose a tag to compare

Enhancements

  • Warn about reserved characters in Named type declaration.
    snowcrash#335
  • Add fixed-type keyword support.
    mson#66
  • Add warnings when the given MSON type attributes contradict each other

Bug Fixes

  • Ensure that sample values are rendered in JSON Schema when using the fixed
    attribute.
    #343
  • Prevents an empty properties section being treated as an unrecognized block.
    #127
    snowcrash#200
  • Fixes rendering when One Of contains member sections with named types.
    #360
  • Default and sample enum values will take precedence as the example value in
    the rendered JSON structure over the enum members.
  • Add type attributes for array values.
    #193
  • Value members with required will not have items in JSON Schema anymore
    #371
  • Ensures that MSON validation warnings are present when generating APIB AST

3.0.0

01 Jul 12:12
Compare
Choose a tag to compare

Breaking

  • Drafter now uses C++11.

    The following compiler versions are supported:

    • Microsoft Visual C++ 2013 or higher
    • GCC 4.8 or higher
    • Clang 3.5 or higher

Enhancements

  • Drafter now provides a full C and C++ API interface, you may now validate, parse and serialize an API Blueprint. Please see drafter.h header for full API documentation.
  • Improve error messages for a few blueprint errors

Bug Fixes

  • Correctly render named primitive types when used as a nested or member type such as items (array[Other Type]) in JSON.
    #312
  • Fixes an issue where defining an implicit object data structure would raise an invalid syntax warning and not be parsed.
    #318
  • Prevent causing an infinite loop when parsing a resource which inherits from itself.
    #328
  • Correctly parse object samples within arrays.
    #246
  • Correctly render JSON Schema when fixed is used on attributes section or named type
    mson#60

v2.3.1

06 May 15:23
Compare
Choose a tag to compare

Bug Fixes

  • Fixes a bug when a referenced mixin inherits another named type
    #254
  • Some of the errors have been changed to warnings
  • Fixes "One Of" JSON rendering. This fix does not include JSON schema
    for multiple One of definition in MSON object.
    #288