0.25.0

(fix): The generator now generates snippets for streaming endpoints. There is also a fix where literals are excluded from inlined requests.

0.25.0-rc0

(feat): The generator now merges the user’s original README.md file (if any).

0.24.4

(fix): APIs that specify a default environment no longer include an unused environment import in their generated snippets.

0.24.2

(feat): Remove the unnecessary client call from the request/response README.md section.

(fix): The generated README.md snippets now correctly referenced nested methods. For example, client.users.create (instead of client.create) in the following:

1import { AcmeClient } from "acme";
2
3const client = new AcmeClient({ apiKey: "YOUR_API_KEY" });
4await client.users.create({
5 firstName: "john",
6 lastName: "doe"
7});

0.24.1

(fix): Dynamic snippets now support importing the client directly from the package.

1import { MyClient } from "@org/sdk";
2
3const client = new MyClient({ ... });