Skip to content

Commit

Permalink
Update description and categorization for Counterfact (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcelhaney authored Dec 28, 2023
1 parent 1fc5898 commit 6f35dbc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions _data/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2237,18 +2237,17 @@

- name: Counterfact
category:
- parser
- mock
- sdk
- converters
- testing
link: https://counterfact.dev
github: https://github.com/pmcelhaney/counterfact
language: TypeScript / Node
description:
A new (July 2022) project that converts an OpenAPI document to a full implementation that runs on ts-node. The idea
is to replace the auto-generated code that returns random values with realistic code, one path at a time. If the
spec is updated, you can regenerate the types and let the type checker show you which parts of the implementation
need to be updated. The types can also be used in client-side code.
Counterfact is a revolutionary free and open source mock server. If you have Node installed, all you have to do is run
`npx counterfact@latest path-or-url-to-your-openapi-document`. Out of the box, you'll get a mock server that returns random
data. With a TypeScript API that's optimized for mocking, you can add more realistic behavior. It supports mix and matching
mocks with calls to the real API (sans CORS headaches). With hot reloading and a REPL, you can change things up on the fly.
v2: true
v3: true
v3_1: true

Expand Down

0 comments on commit 6f35dbc

Please sign in to comment.