Skip to content

Latest commit

 

History

History
180 lines (101 loc) · 12.8 KB

CHANGELOG.md

File metadata and controls

180 lines (101 loc) · 12.8 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.1 (2020-12-27)

Bug Fixes

  • ts-template: fix the query string validation (0c821e8)

2.1.0 (2020-09-01)

Features

  • response: make application/json; charset=utf-8 content type acceptable (669a83d)

Bug Fixes

  • formats: add all formats used in openapi spec to ajv (c775733)

2.0.9 (2020-08-30)

2.0.8 (2020-05-05)

2.0.7 (2020-03-24)

2.0.6 (2020-03-16)

2.0.5 (2020-02-02)

2.0.4 (2020-01-30)

2.0.3 (2020-01-29)

Bug Fixes

  • templates: add application/hal+json handling (c86666b)

2.0.2 (2020-01-26)

2.0.1 (2020-01-24)

2.0.0 (2020-01-23)

⚠ BREAKING CHANGES

  • js-template: parameter data now should be a plain object for content types multipart/formdata and application/x-www-form-urlencoded

Features

  • js-template: handle different types of requests (1dc4934)
  • ts-template: handle different types of requests (6204441)

Bug Fixes

  • compile: convert string type with binary format into object for schema validation (950b94a)

1.0.0 (2020-01-21)

⚠ BREAKING CHANGES

  • ts-template: instead of returning of one response of particular type now every operation returns json, text and raw responses

Features

  • js-template: change the response shape (5aab85f)
  • js-template: handle multiply types of responses (7e3871d)
  • templates: handle charsets in requests' content types (5f4d991)
  • ts-template: add json, text and raw responses to operations (0844b52)
  • ts-template: handle multiple status codes in responses (be3995c)

Bug Fixes

  • ts-template: fix the error with the calling text and json on the body (a0ed189)
  • ts-template: fix the shape of the request (7450605)

0.3.0 (2020-01-12)

Features

  • loader: add baseUrl option to the loader (f55bdc4)
  • loader: make multifile docs watchable (ecfc972)

0.2.6 (2020-01-11)

Features

  • compile: make application/json content type default for requests (5e781c6)

0.2.5 (2020-01-05)

0.2.4 (2020-01-05)

0.2.3 (2020-01-05)

0.2.2 (2020-01-05)

0.2.1 (2020-01-05)

Bug Fixes

  • dependencies: move prettier from dev dependencies to production ones (ecfae8e)

0.2.0 (2020-01-04)

Features

  • compile: add js compiler (72a137d)
  • template: generate js code from swagger (812a52c)

Bug Fixes

  • options: change templates depending on compiler name (39a1e86)

0.1.1 (2020-01-01)

0.1.0 (2020-01-01)

Features

  • compile: add operations interfaces during compilation (fa8193b)
  • compile: add options for conditional skipping of invalid swagger files (9cc08f8)
  • compile: compile interfaces for request bodies (73e6d19)
  • compile: compile response models and interfaces in the ts compiler (b46b143)
  • compile: compile server info in the ts compiler (86f405f)
  • compile: generate operations from the api object (9afd403)
  • compile: obtain operations info from the swagger object in the compile function (174ae27)
  • compile: prepare secureScemes for operations during compilation (ccfd681)
  • config: add options for formatting the output (829aa43)
  • template: show response models and server info in the ts template (c7b1448)
  • templates: add ajv errors props to validation errors (29bd024)
  • templates: add config handling in operations in the ts template (f1d7a46)
  • templates: add handlebars templates for source code compilation (a3fa16e)
  • templates: add options for conditional schema checking for responses and requests (665c32d)
  • templates: describe request interfaces in the ts template (dae89d1)

Bug Fixes

  • compile: deref all references in request bodies (21276aa)
  • compile: fix models' compilation when the components section is not described the doc (9c36b0f)
  • compile: fix the structure of the info (cd6f1d5)
  • compile: fix the typo in the security schemes compilation (616f873)
  • loader: skip file processing if the extension is not compatible with the loader (8f38458)
  • package.json: fix the main script in the package.json (c5e8915)
  • readme: fix the typo in readme (900ffed)
  • template: add binary to unknown formats in ajv validation (3e1919a)
  • template: fix the schema validation errors with intagers format (da82059)
  • template: fix the type of the request body in the ts template (044a94b)
  • template: remove schema validation for the formData body (1170d7a)
  • templates: add types to error responses in the ApiError (6527ad1)
  • templates: fix shemas compilation in the ts compiler (0cbd236)

0.0.2 (2019-12-12)

Features

  • compiler: add openapi models compilement (2928233)
  • utils: add json schema to typescript compiler (997c1a1)

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.