We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca6728 commit 66a5815Copy full SHA for 66a5815
README.md
@@ -84,7 +84,7 @@ import { generateApi, generateTemplates } from "swagger-typescript-api";
84
85
/* NOTE: all fields are optional expect one of `input`, `url`, `spec` */
86
generateApi({
87
- name: "MySuperbApi.ts",
+ fileName: "MySuperbApi.ts",
88
// set to `false` to prevent the tool from writing to disk
89
output: path.resolve(process.cwd(), "./src/__generated__"),
90
url: "http://api.com/swagger.json",
0 commit comments