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 5.4.5

Published by anymaniax over 3 years ago

5.4.5 (2021-06-04)

Bug Fixes

  • generator: enum sanitize and number handling (54ebad2)
orval - Release 5.4.4

Published by anymaniax over 3 years ago

5.4.4 (2021-06-01)

Bug Fixes

  • client-axios: correctly pass operation names (8dae4a9)
  • generator: formData correctly use the body property name (6af9021)
orval - Release 5.4.3

Published by anymaniax over 3 years ago

5.4.3 (2021-05-31)

Bug Fixes

  • remove P extends unknown check from SecondParameter (6216d54)
  • Support custom queryKeys (1d1f5fc)
orval - Release 5.4.2

Published by anymaniax over 3 years ago

5.4.2 (2021-05-24)

Bug Fixes

  • imports: specs correctly resolve (1b9e047)
orval - Release 5.4.1

Published by anymaniax over 3 years ago

5.4.1 (2021-05-23)

Bug Fixes

  • writers: replace writeFile by outputFile (4c71061)

Features

  • api: give the possibility to pass options and not only a path to the generate function (aac9299)
orval - Release 5.4.0

Published by anymaniax over 3 years ago

5.4.0 (2021-05-23)

Bug Fixes

  • mode: split tags use relativeSafe instead of relative (1165083)

Features

  • generator: add ability to provider your own client (51544ed)
orval - Release 5.3.2

Published by anymaniax over 3 years ago

5.3.2 (2021-05-22)

Bug Fixes

  • generator: mutator correctly generate import (aa435e3)
orval - Release 5.3.1

Published by anymaniax over 3 years ago

5.3.1 (2021-05-19)

Bug Fixes

  • client: react-query and svelte-query correctly add enabled property (e99ff04)
orval - Release 5.3.0

Published by anymaniax over 3 years ago

5.3.0 (2021-05-17)

Bug Fixes

  • mocks: add specKey in the get schema (b2d361e)

Features

  • config: add request options (b9d9327)

BREAKING CHANGES

  • config: orval config override query rename config to options
orval - Release 5.2.0

Published by anymaniax over 3 years ago

5.2.0 (2021-05-12)

Bug Fixes

  • axios-client: correctly generate return object (b54373f)
  • enum: correctly sanitize property string enum (36656f9)

Features

  • client: add axios functions client (94fb5b0)
orval - Release 5.1.4

Published by anymaniax over 3 years ago

5.1.4 (2021-05-12)

Bug Fixes

  • fixed missed {} when properties attribute is an empty object(1b29aa9)
orval - Release 5.1.3

Published by anymaniax over 3 years ago

5.1.3 (2021-05-11)

Bug Fixes

  • implement & use relativeSafe to keep leading ./ in import paths (83d8504)
  • use relativeSafe for singleMode, tagsMode and mutator as well (976762e)
orval - Release 5.1.2

Published by anymaniax over 3 years ago

5.1.2 (2021-05-07)

Bug Fixes

  • generator: remove useless comment (e65968d)
orval - Release 5.1.1

Published by anymaniax over 3 years ago

5.1.1 (2021-05-07)

Bug Fixes

  • generator: import allOf handle type enum (8e45881)
orval - Release 5.1.0

Published by anymaniax over 3 years ago

5.1.0 (2021-05-05)

Features

  • generator: add head verb (39c78e5)
  • mock: add override baseUrl (e52a231)
orval - Release 5.0.0

Published by anymaniax over 3 years ago

5.0.0 (2021-05-03)

Bug Fixes

  • generate: correctly handling enum ref (f0f2f73)
  • generator: formData object keys and stringify (6414bde)
  • generator: handle if there is no response definition (206d791)
  • importers: remove useless import (2fb120f)
  • path: move from path to upath to solve windows path generation (35933a8)
  • resolver: resolve value correctly resolve refs (b254bb2)

Features

  • build: move from tsc and rollup to tsup (cc6500c)
  • client: add svelte query (7db523d)
  • generator: add possibility to pass a axios config and override operation name (1f23857)
  • generator: handling multi swagger ref (22ee602)
  • mock: expose a function for each handler (5519c54)
  • mutator: handle second argument of any type (21aa591)
  • orval-config: add converter and parser options (90bc785)
  • requestbodies: handling body ref and better resolve form data (6f2c362)
  • swagger-parser: add resolver github (f40328c)
  • writers: add fs-extra (87146d2)

BREAKING CHANGES

  • react-query: Last argument is now a object which take a property query or mutation because we need to be able to pass custom config to the HTTP client
orval - Release 4.2.1

Published by anymaniax over 3 years ago

4.2.1 (2021-03-23)

Bug Fixes

  • client: add missing import for parameters and improve types (6cb2426)
  • mock: only generate when activated (662a391)
  • mock: solved max call stack (2c79e81)
  • path: resolution (84f2aa3)
  • resreqtypes: remove content types check and make it uniq (c47e06f)
orval - Release 4.2.0

Published by anymaniax almost 4 years ago

4.2.0 (2021-01-14)

Features

  • input: add support of plain text (ec14bbe)
orval - Release 4.1.0

Published by anymaniax almost 4 years ago

4.1.0 (2020-12-14)

Features

  • react-query: migration v3 (3a936f1)
orval - Release 4.0.3

Published by anymaniax almost 4 years ago

4.0.3 (2020-12-10)

Features

  • mock: add the possibility to set every property required (585b6af)
Package Rankings
Top 1.4% on Npmjs.org
Badges
Extracted from project README
npm version License: MIT tests orval