Skip to content

Releases: flowup/api-client-generator

4.0.0

31 Aug 16:15

Choose a tag to compare

Features

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

BREAKING CHANGE

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

3.6.2

22 Aug 18:44

Choose a tag to compare

chore(release): 3.6.2

3.1.1

01 Jun 12:57

Choose a tag to compare

Angular 6 and RxJS 6 compatible imports

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.0.0

15 Mar 13:54

Choose a tag to compare

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-alpha.0

26 Feb 12:04

Choose a tag to compare

3.0.0-alpha.0 Pre-release
Pre-release

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

26 Feb 12:03

Choose a tag to compare

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)

2.0.0-beta-1

09 Jan 19:15

Choose a tag to compare

2.0.0-beta-1 Pre-release
Pre-release
feat(type-names): omitted unnecessary type naming postfix

closes #9

2.0.0-alpha-3

09 Jan 17:43

Choose a tag to compare

2.0.0-alpha-3 Pre-release
Pre-release
build(): node bin

2.0.0-alpha-2

09 Jan 17:43

Choose a tag to compare

2.0.0-alpha-2 Pre-release
Pre-release
build(): dependencies and version