File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " swagger-typescript-api " : patch
3
+ ---
4
+
5
+ Fix typos in CLI option description and warning message.
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ const generateCommand = defineCommand({
230
230
path : {
231
231
type : "string" ,
232
232
alias : "p" ,
233
- description : "path/url to swagger scheme " ,
233
+ description : "path/url to swagger schema " ,
234
234
required : true ,
235
235
} ,
236
236
responses : {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export class TypeNameFormatter {
27
27
const hashKey = `${ typePrefix } _${ name } _${ typeSuffix } ` ;
28
28
29
29
if ( typeof name !== "string" ) {
30
- consola . warn ( "wrong name of the model name" , name ) ;
30
+ consola . warn ( "wrong model name" , name ) ;
31
31
return name ;
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments