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 e4c1679 commit d207791Copy full SHA for d207791
1 file changed
src/models/api.model.ts
@@ -20,11 +20,11 @@ export class ApiModel implements PhysycalFile {
20
response: ModelAttributessModel;
21
22
get name(): string {
23
- return camel(`${this.groupName} ${this.operationId}`);
+ return capital(`${this.groupName} ${this.operationId}`, '', true);
24
}
25
26
get groupName(): string {
27
- return this.tags[0]?.length ? capital(this.tags[0]) : null;
+ return this.tags[0]?.length ? capital(this.tags[0], '', true) : null;
28
29
30
get models(): ModelAttributessModel[] {
@@ -66,7 +66,7 @@ export class ApiModel implements PhysycalFile {
66
return this._verb;
67
68
set verb(verb: string) {
69
- this._verb = capital(verb);
+ this._verb = capital(verb, '', true);
70
71
72
constructor(url: string, verb: string) {
0 commit comments