Releases: apiaryio/drafter
Releases · apiaryio/drafter
v3.2.2
v3.2.1
v3.2.0
3.1.3
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
3.1.1
3.1.0
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
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
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