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 b4312ca commit 0e251bbCopy full SHA for 0e251bb
3 files changed
.changeset/small-birds-smile.md
@@ -0,0 +1,5 @@
1
+---
2
+"swagger-typescript-api": patch
3
4
+
5
+Fix typos in CLI option description and warning message.
index.ts
@@ -230,7 +230,7 @@ const generateCommand = defineCommand({
230
path: {
231
type: "string",
232
alias: "p",
233
- description: "path/url to swagger scheme",
+ description: "path/url to swagger schema",
234
required: true,
235
},
236
responses: {
src/type-name-formatter.ts
@@ -27,7 +27,7 @@ export class TypeNameFormatter {
27
const hashKey = `${typePrefix}_${name}_${typeSuffix}`;
28
29
if (typeof name !== "string") {
30
- consola.warn("wrong name of the model name", name);
+ consola.warn("wrong model name", name);
31
return name;
32
}
33
0 commit comments