Skip to content

Releases: pmcelhaney/counterfact

v0.5.0

18 Jul 20:46
f7b52ed
Compare
Choose a tag to compare

Minor Changes

  • 5e72a6c: CLI to generate TypeScript files
  • de5e92b: use example values (if present) when generating random data

v0.4.0

12 Jul 18:19
2ebffd4
Compare
Choose a tag to compare

Minor Changes

  • ab38cb2: add a tools.randomFromSchema(schema: JSONSchema) function

v0.3.0

12 Jul 16:23
39ec7e4
Compare
Choose a tag to compare

Minor Changes

  • 406b907: Add a tools object that will be provided to the request

v0.2.0

29 Jun 20:35
53c2043
Compare
Choose a tag to compare

Minor Changes

  • 741e4fe: change path parameters from [this] to {this} for consistency with OpenAPI
  • f237c38: proof of concept specifying routes with TypeScript and ts-node

Patch Changes

  • 420cd52: return a 404 with a helpful error message when a handler for a route does not exist
  • c11a475: allow the intial context (nee "store") to be passed as the second argument to counterfact()

v0.1.2

08 Jun 17:59
72cd6e0
Compare
Choose a tag to compare

Patch Changes