changelogs.md


flowup/api-client-generator

Repository  -  API  -  Source

4.0.1

September 1, 2018

Bug Fixes

  • models: recursive model definitions filter (c80631f)

4.0.0

August 31, 2018

Features

  • models: model export index sorted and filtered for duplicates (ca325d3)
  • tags: clients generated to folder services when tag option used (e7d3a08)

BREAKING CHANGES

  • tags: models import path had changed as services now share the models folder

3.6.2

August 22, 2018

Bug Fixes

  • tags: definition type name filter (48b4fff)

3.6.1

August 22, 2018

Bug Fixes

  • post install dependencies (b511914)

3.6.0

August 22, 2018

Bug Fixes

  • api-client: empty string as valid domain URL (c99265e)
  • api-client: tag services names and module injection tokens (6624de2)
  • parser: type prefixing fixed for nullables (7aee02b)

Features

  • git: generated files added separately instead of whole path (1a00bbd)
  • main: warning logged on legacy model discovery (ad66cf7)
  • parser: x-nullable response flag supported (d73924c)

3.5.0

July 12, 2018

Bug Fixes

  • generator: validate swagger file before parse (cafa99f), closes #58

Features

  • api-client: interface generated for service mocking purposes (f10c9b3)
  • autocommit: implemented (a9d5fd0)
  • api-client: option to generate separate clients based on the path tags (20addd1)

3.4.1

June 22, 2018

Bug Fixes

  • generator: swagger file validate against spec and schema (59c3c1b), closes #58

3.4.0

June 20, 2018

Features

  • api-client: global parameters for paths (3cf7219)

3.3.0

June 11, 2018

Bug Fixes

  • enums: numeric enums values (ce511c8)

Features

  • api-client: API method descriptions (e7e767f), closes #29
  • api-client: API method parameter descriptions (320fabc), closes #29
  • models, enums: description for models and enums (ae7262d), closes #29

3.2.2

June 8, 2018

Bug Fixes

  • models: extended interface name CamelCase instead of camelCase (f6e39ad)

3.2.1

June 8, 2018

Bug Fixes

  • models: extending interface name corrected to camelCase (b02dc2f)

3.2.0

June 7, 2018

Bug Fixes

  • models: escape keys with non-word characters and ones starting with a number (1757135), closes #54

Features

  • models: extend interface with model in allOf property definition (0d7b83c), closes #53

3.2.0

June 1, 2018

Bug Fixes

  • api-client: http options without headers and params constructing (AOT compatible) (eca03c3), closes #47
  • api-client: possibly undefined http options params and headers (539ba46)
  • models: model no longer stripped from the name of file if explicitly named that way (dfdf90d), closes #49

3.1.0

May 7, 2018

Features

  • api-client: rxjs 6 compatible import for Observable (431d61f)

3.0.3

April 6, 2018

Bug Fixes

  • api-client: array method parameters and headers appended (34ded75), closes #36
  • api-client: basic types regex checks word boundaries (f588fed), closes #44
  • api-client: File, Blob, Date and Object types are not imported from models (37e358b), closes #27
  • api-client: form parameter used as body in request (ce9f124), closes #40
  • api-client: models are not imported if there are none (42cf4c0), closes #31
  • parser: empty or native types parameters won't be generated into models (ff55939)
  • parser: interface properties were skipped during generation (3e694ad)

Features

  • api-client: create output dir even if path does not exists (8ff9be8), closes #34
  • api-client: method names with underscore converted to camelCase (b09a679), closes #37
  • api-client: method parameters nested to args object (efaca5b), closes #8
  • api-client: optional param skipped if not in args (135db91)
  • api-client: reference parameters are dereferenced (0a0de44)
  • api-client: referenced method parameters generated and used (0e26c53)
  • api-client: support for head, options and patch http methods (bd240f5)
  • api-client: support for optional method parameters (9d0cedc), closes #8
  • api-client: when no operation id, method names generated from path and method type (4afcdbc)
  • enums: numeric enums, using keys from description (45bb096), closes #28
  • parser: interface property type improvements, including nested array types (c70d2a3), closes #35

3.0.0

March 15, 2018

Bug Fixes

  • api-client: array method parameters and headers appended (34ded75), closes #36
  • api-client: File, Blob, Date and Object types are not imported from models (37e358b), closes #27
  • api-client: form parameter used as body in request (ce9f124), closes #40
  • api-client: models are not imported if there are none (42cf4c0), closes #31
  • parser: empty or native types parameters won't be generated into models (ff55939)
  • parser: interface properties were skipped during generation (3e694ad)

Features

  • api-client: create output dir even if path does not exists (8ff9be8), closes #34
  • api-client: method names with underscore converted to camelCase (b09a679), closes #37
  • api-client: method parameters nested to args object (efaca5b), closes #8
  • api-client: optional param skipped if not in args (135db91)
  • api-client: reference parameters are dereferenced (0a0de44)
  • api-client: referenced method parameters generated and used (0e26c53)
  • api-client: support for head, options and patch http methods (bd240f5)
  • api-client: support for optional method parameters (9d0cedc), closes #8
  • api-client: when no operation id, method names generated from path and method type (4afcdbc)
  • enums: numeric enums, using keys from description (45bb096), closes #28
  • parser: interface property type improvements, including nested array types (c70d2a3), closes #35

3.0.0

Bug Fixes

3.0.0

Features

  • module: API client exported as module (7eaf673), closes #23

BREAKING CHANGES

  • module:
    • renamed to APIClient
    • domain and configuration are now provided using .forRoot method
      APIClientModule.forRoot({
      domain: 'https://api.url',
      }),
      
    • cli command renamed to api-client-generator

2.1.0

February 25, 2018

Bug Fixes

  • models: enum property names same as values (7a0b171), closes #18

Features

  • api-client: models imported as module (3492d8f), closes #22
  • domain: relative path instead of localhost (e19fffe)