File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -619,6 +619,8 @@ function transformParameters(
619
619
? param . enum || [ ]
620
620
: ( param . enum || [ ] ) . map ( str => `'${ str } '` )
621
621
) . join ( ' | ' )
622
+ : 'schema' in param && param . schema && param . schema . properties
623
+ ? 'object'
622
624
: toTypescriptType (
623
625
isArray
624
626
? determineArrayType ( param as Schema )
Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ export interface APIClientInterface {
416
416
*/
417
417
createRole (
418
418
args : {
419
- body : any , // Role entity object that needs to be added
419
+ body : object , // Role entity object that needs to be added
420
420
} ,
421
421
requestHttpOptions ?: HttpOptions
422
422
) : Observable < models . RoleDetailsItem > ;
Original file line number Diff line number Diff line change @@ -838,7 +838,7 @@ export class APIClient implements APIClientInterface {
838
838
*/
839
839
createRole (
840
840
args : {
841
- body : any , // Role entity object that needs to be added
841
+ body : object , // Role entity object that needs to be added
842
842
} ,
843
843
requestHttpOptions ?: HttpOptions
844
844
) : Observable < models . RoleDetailsItem > {
Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ export class GuardedAPIClient extends APIClient {
349
349
350
350
createRole (
351
351
args : {
352
- body : any , // Role entity object that needs to be added
352
+ body : object , // Role entity object that needs to be added
353
353
} ,
354
354
requestHttpOptions ?: HttpOptions
355
355
) : Observable < models . RoleDetailsItem > {
You can’t perform that action at this time.
0 commit comments