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

Published by anymaniax 12 months ago

6.19.1 (2023-10-24)

Bug Fixes

orval - Release 6.19.0

Published by anymaniax about 1 year ago

6.19.0 (2023-10-19)

Bug Fixes

  • core: fix ref import file (#955) (69280a3)
  • make order of imports and object properties deterministic (#965) (a4cca88)
  • useNamedParameters: use operationName instead of operationId (#953) (8a458ca)

Features

  • msw: allow regex for entire paths instead of only property names (#957) (9a4ce8f)
  • orval: allow custom baseUrl for each OpenAPI specification (#968) (8a12c3d)
  • react-query: add option to generate suspense query (83e567b)

Performance Improvements

  • utils: caches pascal function generated strings (#962) (1899009)
orval - Release 6.18.1

Published by anymaniax about 1 year ago

6.18.1 (2023-10-01)

Bug Fixes

  • workspace: add correctly the index file (703814c)
orval - Release 6.18.0

Published by anymaniax about 1 year ago

6.18.0 (2023-10-01)

Bug Fixes

Features

  • core: include originalOperation in VerbOptions (#923) (7ea9b85)
  • core: option to disable creating index files (#915) (b3db343)
  • core: throw on errors (#898) (b9cf531)
  • faker: update and remove deprecated (f1b8ff8)
  • msw: allow mock delay override via function (#945) (993d227)
  • namedParameters: Add global named parameters option (#914) (663cafa)
  • query: add compatibility with version 5 (507e604)
  • zod: support array min/max items (#908) (0296a82)

Performance Improvements

orval - Release 6.17.0

Published by anymaniax over 1 year ago

6.17.0 (2023-07-08)

Bug Fixes

  • core: recursively handle nested refs (#875) (3e46854)
  • core: use default response object as success/error response (#877) (f16537f)

Features

  • packages: add regex option to filter generated endpoints (#835) (ece8051)
orval - Release 6.16.0

Published by anymaniax over 1 year ago

6.16.0 (2023-05-23)

Bug Fixes

  • core: file parsing handling esnext correctly (d415077)

Features

  • query: add useMutation options (2b2e2b7)
  • zod: add nullable & nullish to output (#856) (4e73c03)
orval - Release 6.15.0

Published by anymaniax over 1 year ago

6.15.0 (2023-04-26)

Features

  • core: add optional flag to force number type instead of bigint (#841) (a2798af)
orval - Release 6.14.4

Published by anymaniax over 1 year ago

6.14.4 (2023-04-21)

Bug Fixes

  • core: use bigint for int64 types (#829) (64c62a1)
  • schemas: handling correctly non openapi file entry (be77eb2)
orval - Release 6.14.3

Published by anymaniax over 1 year ago

6.14.3 (2023-04-12)

Bug Fixes

  • core: resolve value avoid infinite loop on multi files refs by adding a parents relation (9707881)
orval - Release 6.14.2

Published by anymaniax over 1 year ago

6.14.2 (2023-04-12)

Bug Fixes

  • core: resolve value on readonly avoid infinite loop on multi files refs (05c966f)
orval - Release 6.14.1

Published by anymaniax over 1 year ago

6.14.1 (2023-04-11)

Bug Fixes

  • core: add non readonly only inside implementation file when needed (3be6a54)
orval - Release 6.14.0

Published by anymaniax over 1 year ago

6.14.0 (2023-04-11)

Bug Fixes

  • correctly handle enums without type properties (#814) (daf83a5)
  • zod: avoid deplicated consts declaration (03a058f)
  • zod: change import to handle synthetic import config (8a37cda)

Features

  • core: remove readonly properties from request body (#813) (f5b1ec9)
  • packages: add option to filter generated endpoints (#810) (673bb55)
  • query: generate query and mutation options functions (#821) (79e9527)
orval - Release 6.13.1

Published by anymaniax over 1 year ago

6.13.1 (2023-04-04)

Bug Fixes

  • zod: handling correctly deeper ref by deferencing (3aa9162)
orval - Release 6.13.0

Published by anymaniax over 1 year ago

6.13.0 (2023-04-03)

Features

orval - Release 6.12.1

Published by anymaniax over 1 year ago

6.12.1 (2023-03-05)

Bug Fixes

orval - Release 6.12.0

Published by anymaniax over 1 year ago

6.12.0 (2023-02-22)

Bug Fixes

  • core: request options without second argument correctly stringify (c2554a7)
  • options: normalize correctly query signal (903e0b5)

Features

  • query: add new tanstack vue query support and move to query object (ba7ee98)
  • query: add support of tanstack svelte query (b26ce92)
orval - Release 6.11.1

Published by anymaniax over 1 year ago

6.11.1 (2023-01-19)

Bug Fixes

  • core: file loader use default path package to find correctly the file on all os (7147b72)
  • path: add upath test functions (a891796)
  • path: correctly handle windows path (6a34606)
orval - Release 6.11.0

Published by anymaniax almost 2 years ago

6.11.0 (2023-01-06)

Bug Fixes

  • case: handling name starting with underscore (d393a1c)
  • core: getters scalar stringify all enum items (83d1d59)
  • enum: authorise nullable (74993d1)
  • form-data: handling nullable object property (cb5db56)
  • getters: properties composition correctly check if the schema name already exist (60c6bb2)
  • import-schemas: handling schema file which contain other schemas (68f84a8)
  • imports: correctly handling schema file (c58c0df)
  • imports: non specification improve schema assertion (68522ac)
  • msw: handling combine without resolved type (17f4c82)
  • msw: handling combined type array correctly (128d0c4)
  • mutator: parser mutator double return arrow function (f9f1ee8)
  • mutators: imports error type and body type verify that not already imported (ccb78d5)
  • options: normalize correctly operations verboptions (bfe3333)
  • required query parameters with content (#683) (98e311a)
  • scalar: handling enum without type (e2c449f)

Features

  • client: optional footer, header, title, dependencies and query add options (8b796d6)
  • enum: support x-enumNames (105c3f5)
  • query: add query & mutator options mutator and also query key mutator (0e71800)
orval - Release 6.10.3

Published by anymaniax almost 2 years ago

6.10.3 (2022-11-07)

Bug Fixes

  • enum: dont sanitize if only one char (81e9dcc)
  • getters: handle OpenAPI 3.1 nullability (#645) (622919a)
  • multi-files: add better parsing for non openapi file (5218b91)
  • writers: parse current index to keep existing export (2d7bbb9)
  • writers: remove import if type or interface already in the file (12a7cfe)
  • cli: handling global input and output with config (a38b73d)
orval - Release 6.10.2

Published by anymaniax about 2 years ago

6.10.2 (2022-09-26)

Bug Fixes

  • endpoints: parameters name are different from they usage names for form url encoded (21091ff)
  • formdata: handle special characters key (ea640ba)
  • msw: add missing import when combime with properties (c8720b2)
  • writers: compare versions handling latest (60b251d)
Package Rankings
Top 1.4% on Npmjs.org
Badges
Extracted from project README
npm version License: MIT tests orval