Skip to content

v2.0.0

Choose a tag to compare

@SpringworksBuilder SpringworksBuilder released this 01 Feb 20:44

<a name"2.0.0">

2.0.0 (2017-02-01)

Bug Fixes

  • test: fix tests with babel when using npm 2 (0b4a9d8f)

Features

  • add function resolveApiSpec (eaa5538c)

Breaking Changes

  • $ref is printed like $ref: \${$ref}``. Most refs should be resolved but in the case a ref is not resolved, it's better to print the entire URI. Number types are printed a bit less redundantly, instead of sayinginteger, int32it will just say`int32`. When numbers are used in ranges it might say`0 < int32 <= 200`.

    (1e7f8b4b)

  • Attempt to resolve and inline all $refs. Merge schemas that extend other schemas using allOf.

    (61287826)

  • convertToMarkdown takes and optional options object instead of an optional response example provider function. Pass the function as response_example_provider in the options object instead.

    (6c0d0f51)

  • The convertToMarkdown function returns a Promise<string> instead of a string.

    (fe0bc49f)