Skip to content

Commit 061f3fc

Browse files
committed
remove model index file & update version
1 parent 33025ad commit 061f3fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "saddleback-openapi-typescript-codegen",
3-
"version": "0.34.0",
3+
"version": "0.34.1",
44
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
55
"author": "Ferdi Koomen",
66
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",

src/utils/writeClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const writeClient = async (
149149
);
150150
}
151151
// write models index
152-
if (exportCore || exportServices || exportSchemas || exportModels) {
152+
if ((exportCore || exportServices || exportSchemas || exportModels) && httpClient !== HttpClient.SADDLEBACK) {
153153
await mkdir(outputPath);
154154
await writeSaddlebackModelsIndex(
155155
client,

0 commit comments

Comments
 (0)