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({
230230 path : {
231231 type : "string" ,
232232 alias : "p" ,
233- description : "path/url to swagger scheme " ,
233+ description : "path/url to swagger schema " ,
234234 required : true ,
235235 } ,
236236 responses : {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export class TypeNameFormatter {
2727 const hashKey = `${ typePrefix } _${ name } _${ typeSuffix } ` ;
2828
2929 if ( typeof name !== "string" ) {
30- consola . warn ( "wrong name of the model name" , name ) ;
30+ consola . warn ( "wrong model name" , name ) ;
3131 return name ;
3232 }
3333
You can’t perform that action at this time.
0 commit comments