Skip to content

Zero-Rails_OpenApi 1.4.3 release!

Compare
Choose a tag to compare
@zhandao zhandao released this 12 Dec 17:26
· 78 commits to master since this release

[1.4.2 & 1.4.3] - 2017/12/11&13 - view diff

Feature

  1. example method in components block.
  2. Request Body (also Response):
    1. The same media-types will be fusion together.
      (This means you can write form separately.)
    2. Different media-types will not be replaced, all will be merged in content.
    3. Support flat statement form-data by data.

Fixed

  1. generate_doc raise 'should not nil when merge' if settings[:components] not set.
  2. @preprocessed not initialize warning.

Added

  1. Schema option blankable.
  2. Schema option alias in to enum.
  3. Schema option pattern could be String for supporting Time Format.

Changed

  1. form mandatory requirements pass data: { }.
  2. Remove request_body's parameter desc to **options.
  3. Remove aliases of response.