Skip to content

Commit d207791

Browse files
Fix some capital names
1 parent e4c1679 commit d207791

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/models/api.model.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ export class ApiModel implements PhysycalFile {
2020
response: ModelAttributessModel;
2121

2222
get name(): string {
23-
return camel(`${this.groupName} ${this.operationId}`);
23+
return capital(`${this.groupName} ${this.operationId}`, '', true);
2424
}
2525

2626
get groupName(): string {
27-
return this.tags[0]?.length ? capital(this.tags[0]) : null;
27+
return this.tags[0]?.length ? capital(this.tags[0], '', true) : null;
2828
}
2929

3030
get models(): ModelAttributessModel[] {
@@ -66,7 +66,7 @@ export class ApiModel implements PhysycalFile {
6666
return this._verb;
6767
}
6868
set verb(verb: string) {
69-
this._verb = capital(verb);
69+
this._verb = capital(verb, '', true);
7070
}
7171

7272
constructor(url: string, verb: string) {

0 commit comments

Comments
 (0)