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 6.5.1

Published by anymaniax almost 3 years ago

6.5.1 (2021-12-15)

Bug Fixes

  • generators: correctly handling delete body (95034a6)
orval - Release 6.5.0

Published by anymaniax almost 3 years ago

6.5.0 (2021-12-14)

Bug Fixes

  • getters: remove enums check combine (7f1542f)

Features

  • generators: add provde in option angular client (#277) (e553290)
  • config: automatically read tsconfig to handle paths and synthetical import (#274) (bb205cb)
orval - Release 6.4.3

Published by anymaniax almost 3 years ago

6.4.3 (2021-12-09)

Bug Fixes

orval - Release 6.4.2

Published by anymaniax almost 3 years ago

6.4.2 (2021-12-07)

Bug Fixes

  • core: path parameters default values (#278) (fa97f52)
orval - Release 6.4.1

Published by anymaniax almost 3 years ago

6.4.1 (2021-12-07)

Bug Fixes

  • generators: fixed generation when using hooks and forms (#276) (40c16be)
orval - Release 6.4.0

Published by anymaniax almost 3 years ago

6.4.0 (2021-11-28)

Bug Fixes

  • better error message when using unsupported ref component (#263) (28d7d66)
  • client: query add return type (#270) (326ed10)
  • enum: add eslint disabled rule (7b647cf)
  • generator: method delete add body (5eb913b)
  • generators: handling multi-files path refs (9a516b9)
  • getters: combine authorize properties (a191ee7)
  • getters: combine better handling of enums (#271) (70f3cc7)
  • getters: object try to avoid name collision (0c7b9fd)
  • getters: route correctly add last slash (aa0826c)
  • query: check content for query schema (#250) (ff4738b)
  • resolvers: handling slash char into ref (#268) (8b52e37)
  • writers: include workspace index.ts to be formatted using prettier (#253) (0a15c82)
  • writers: sort schemas by imports dependencies (efadb0c)

Features

  • generators: multi files try to handling non openapi files (8bda228)
  • mutators: add a way to override returned error type (4ae28e8)
  • types: export transformer function type (#252) (b4962b9)
orval - Release 6.3.0

Published by anymaniax almost 3 years ago

6.3.0 (2021-11-03)

Features

  • generator: handling form url encoded (#239) (85e9781)
  • mutator: add a way to alias import (#226) (5c1f0ba)
  • mutator: add caching related to the resolved path (0375efa)
  • query-client: handle hook mutator (#237) (f3211e9)
orval - Release 6.2.4

Published by anymaniax almost 3 years ago

6.2.4 (2021-10-28)

Bug Fixes

  • jsdoc: replace all matches of comment terminations, not just the first (#235) (4e48b1b)
  • writers: tags-split correctly add the extra path level for form data mutator (472954e)
orval - Release 6.2.3

Published by anymaniax about 3 years ago

6.2.3 (2021-10-15)

Bug Fixes

  • mutator: if the file cannot be loaded apply a default config (efcaeec)
orval - Release 6.2.2

Published by anymaniax about 3 years ago

6.2.2 (2021-10-15)

Bug Fixes

  • getters: schema object property required is array (d9ceaee)
  • mock: check contentType to return the good type (3bf50fa)
  • writers: always prettier correctly (de6d1f1)
orval - Release 6.2.1

Published by anymaniax about 3 years ago

6.2.1 (2021-10-12)

Bug Fixes

  • mock: add additional response type possibility (#225) (e0631d3)
  • docs: add default empty string to description (12462e3)
  • jsdoc: ensure no closing comments in JSDoc (#221) (eb6cbd3)
  • jsdoc: ensure no closing summary (72e33fd)
  • parameters: correctly pascal parameter name (7b51a60)
orval - Release 6.2.0

Published by anymaniax about 3 years ago

6.2.0 (2021-10-03)

Bug Fixes

  • mock: escape correctly enums (e19ec91)
  • url: correctly validate path vs url (11e5dc9)

Features

  • cli: add mock, client, mode option (215d0c3)
orval - Release 6.1.2

Published by anymaniax about 3 years ago

6.1.2 (2021-10-01)

Bug Fixes

  • deduplicate enum values (#214) (581aba4)
  • escape enum values (#212) (8878a2e)
  • jsdoc: add jsDoc to endpoints function (d3fcd9f)
  • manage enum plus number (#213) (9f61489)
  • query: correctly generate with query options (5b7e93c)
  • query: improve typing of the queryFn and add mutationFn (b42fd82)
  • watcher: better log system and avoid crash (09ea830)
orval - Release 6.1.1

Published by anymaniax about 3 years ago

6.1.1 (2021-09-22)

Bug Fixes

  • generator: schema name correctly pass suffix to deep object (225d100)
  • prettier: only add schemas path if provided (1f0f6b6)
orval - Release 6.1.0

Published by anymaniax about 3 years ago

6.1.0 (2021-09-21)

Features

  • options: add the possibility to prettier generated files (b985c0a)
orval - Release 6.0.4

Published by anymaniax about 3 years ago

6.0.4 (2021-09-20)

Bug Fixes

  • bundler: move back to esbuild due to setup issue with swc on some environment (1412f6c)
  • mock: correctly pass mock override options (f40bd46)
orval - Release 6.0.3

Published by anymaniax about 3 years ago

6.0.3 (2021-09-16)

Bug Fixes

  • watch-mode: if provide project only watch that one (2369075)
orval - Release 6.0.2

Published by anymaniax about 3 years ago

6.0.2 (2021-09-16)

Bug Fixes

  • imports: correctly create import path for multi specs without schemas folder (f1a7aab)
orval - Release 6.0.1

Published by anymaniax about 3 years ago

6.0.1 (2021-09-14)

Bug Fixes

  • swagger-parser: correctly activate parser validation by default (d9920f5)
orval - Release 6.0.0

Published by anymaniax about 3 years ago

6.0.0 (2021-09-13)

Bug Fixes

  • client: react query simplify types (3dc9ec5)

Features

  • angular: add provideInRoot option (d8cd647)
  • cli: add watch mode (bf66b05)
  • client: add swr (9b7ed5a)
  • cli: move from commander to cac (fc8e659)
  • config: add possibility to add a suffix (e09fcc8)
  • formdata: give the possibility to pass a mutator (6c7ab88)
  • generator: add jsDoc (c4f9a5a)
  • generator: add parameters (4664d00)
  • generator: add possibility to directly pass an open api specification (9895df3)
  • generator: setup esbuild to load config and mutator (6431faa)
  • loader: esbuild to swc (7827785)
  • options: add clean output folder (1d01994)
  • options: normalization (303c958)
  • query: authorize post to be useQuery hook (f52d2bc)
  • writers: give the possibility to override the file header (85b7c69)
  • writers: handle output workspace (72351f8)

BREAKING CHANGES

  • client: react query removing the generic type TQueryFnData
Package Rankings
Top 1.4% on Npmjs.org
Badges
Extracted from project README
npm version License: MIT tests orval