orval

orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺

MIT License

Downloads
640.2K
Stars
2.6K
Committers
154

Bot releases are hidden (Show)

orval - Release 4.0.2

Published by anymaniax almost 4 years ago

4.0.2 (2020-12-10)

Bug Fixes

  • mock: return correctly combined mock (52e7f90)
orval - Release 4.0.1

Published by anymaniax almost 4 years ago

4.0.1 (2020-12-09)

Bug Fixes

  • react-query: correctly add axios dependency (fb980d4)
  • resolvers: path handle correctly folder base (7bd01ab)
  • transformer: base path import on workspace (546f7a8)
orval - Release 4.0.0

Published by anymaniax almost 4 years ago

4.0.0 (2020-12-09)

Bug Fixes

  • mocks: duplicate properties with combined schemas (649f81f)
  • react-query: don't add getFetchMore config if not useInfinite (62ef7d0)
  • react-query: remove axios import if global mutator (1dcbc87)

Code Refactoring

  • mutator: handling directly the file from the config (a158970)

Features

  • client-axios: remove axios instance in argument (f3631fa)
  • imports: improve gesture (68ec25c)
  • mock: add format property for mock (e8a2083)
  • override: add the possibility to override by tag (a590de8)
  • react-query: add possibility to generate usePaginated, useInfinite and override config (5d10f5e)
  • react-query: add queryKey (8d81a66)

BREAKING CHANGES

  • mutator: You cannot put directly the function anymore. You can only provide a path or an object to config the import of that mutator.
  • mock: Remove old system
  • definition: Remove old definition system of the API
orval - Release 3.2.3

Published by anymaniax almost 4 years ago

3.2.3 (2020-11-25)

Bug Fixes

  • resolvers-object: don't add wrong enums when the schema is a ref (8b1e071)
orval - Release 3.2.2

Published by anymaniax almost 4 years ago

3.2.2 (2020-11-24)

Bug Fixes

orval - Release 3.2.1

Published by anymaniax almost 4 years ago

3.2.1 (2020-11-24)

Bug Fixes

  • utils: toObjectString remove useless comma when empty array (6611b17)
orval - Release 3.2.0

Published by anymaniax almost 4 years ago

3.2.0 (2020-11-24)

Bug Fixes

  • orval-config: output transformer accept directly a function (e5d06f9)
  • write: index models check correctly if path already exist (4457bb3)

Features

  • generator-schema: handle combined enums (ad11d0f)
  • client-react-query: add independent axios function (30d8266)
orval - Release 3.1.9

Published by anymaniax almost 4 years ago

3.1.9 (2020-11-12)

Bug Fixes

  • generator: filter out imports that refer to the type defined in current file (36407e2)
  • mocks: handling recursive models (bd4f8a9)
  • writers: models - don't wipe anymore the index just check if it's already exported (22dcf0f)
  • writers: schemas check if index.ts exist (905f9df)
orval - Release 3.1.8

Published by anymaniax almost 4 years ago

3.1.8 (2020-11-03)

Bug Fixes

  • writers: msw imports mocks (fa8b838)
orval - Release 3.1.7

Published by anymaniax almost 4 years ago

3.1.7 (2020-11-03)

Bug Fixes

  • generator: axios definition remove prefix I (b5c06ad)
orval - Release 3.1.6

Published by anymaniax almost 4 years ago

3.1.6 (2020-11-02)

Features

  • generator: add the possibility to override the title (7551f07)
orval - Release 3.1.5

Published by anymaniax almost 4 years ago

3.1.5 (2020-11-02)

Bug Fixes

  • generator: remove api at the end of the title (1cc1992)
orval - Release 3.1.4

Published by anymaniax almost 4 years ago

3.1.4 (2020-11-02)

Bug Fixes

  • generators: enum property sanatize correctly (a8d2433)
orval - Release 3.1.3

Published by anymaniax almost 4 years ago

3.1.3 (2020-10-26)

Bug Fixes

  • dependencies: add axios (48210f5)
orval - Release 3.1.2

Published by anymaniax about 4 years ago

3.1.2 (2020-10-20)

Bug Fixes

  • react-query: handle correctly empty definitions or properties (458c1ec)
orval - Release 3.1.1

Published by anymaniax about 4 years ago

3.1.1 (2020-10-20)

Bug Fixes

  • axios: prefix definition name (3b7df65)
orval - Release 3.1.0

Published by anymaniax about 4 years ago

3.1.0 (2020-10-20)

Bug Fixes

  • axios-client: default import (e2f96c6)
  • mock: correctly handle only one allOf & oneOf (e5c8200)
  • msw: crash when no definitions (9e751fe)
  • mutator: correctly handle blob body (020dd2a)
  • react-query: correctly handle variables mutate function (4bb711b)
  • response: default unknown definition (19a8403)

Features

  • input: handle other link then github (9f0e717)
orval - Release 3.0.3

Published by anymaniax about 4 years ago

3.0.3 (2020-10-13)

Bug Fixes

  • react-query: correctly pass variables to mutation (8db38c4)
orval - Release 3.0.2

Published by anymaniax about 4 years ago

3.0.2 (2020-10-09)

Bug Fixes

  • regex-special-char: add underscore (4bdbebb)
orval - Release 3.0.1

Published by anymaniax about 4 years ago

3.0.1 (2020-10-07)

Bug Fixes

  • react-query: correctly handling mutation (ce8acd9)
Package Rankings
Top 1.4% on Npmjs.org
Badges
Extracted from project README
npm version License: MIT tests orval