File tree 4 files changed +6
-14
lines changed
dot-path-params/__snapshots__
sortTypes-false/__snapshots__
4 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -512,21 +512,13 @@ export class SchemaRoutes {
512
512
( objectSchema , schemaPart ) => {
513
513
if ( ! schemaPart || ! schemaPart . name ) return objectSchema ;
514
514
515
- let usageName = `${ schemaPart . name } ` ;
516
-
517
- if ( usageName . includes ( "." ) ) {
518
- usageName = lodash . camelCase ( usageName ) ;
519
- }
520
-
521
515
return {
522
516
...objectSchema ,
523
517
properties : {
524
518
...objectSchema . properties ,
525
- [ usageName ] : {
519
+ [ schemaPart . name ] : {
526
520
...schemaPart ,
527
521
...( schemaPart . schema || { } ) ,
528
- $origName : schemaPart . name ,
529
- name : usageName ,
530
522
} ,
531
523
} ,
532
524
} ;
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
241
241
reproFunc: (
242
242
truckId : string ,
243
243
query : {
244
- queryId : string ;
244
+ " query.id " : string ;
245
245
},
246
246
params : RequestParams = {},
247
247
) =>
Original file line number Diff line number Diff line change @@ -1997,9 +1997,9 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1997
1997
data: Events,
1998
1998
query?: {
1999
1999
queryParam1?: number;
2000
- fooBarBaz ?: number;
2000
+ "foo.bar.baz" ?: number;
2001
2001
queryParam2?: number;
2002
- queryParamBar3 ?: number;
2002
+ "query.param.bar.3" ?: number;
2003
2003
queryParam3?: string[];
2004
2004
},
2005
2005
params: RequestParams = {},
Original file line number Diff line number Diff line change @@ -1996,11 +1996,11 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1996
1996
someOp1: (
1997
1997
data: Events,
1998
1998
query?: {
1999
+ "foo.bar.baz"?: number;
2000
+ "query.param.bar.3"?: number;
1999
2001
queryParam1?: number;
2000
2002
queryParam2?: number;
2001
2003
queryParam3?: string[];
2002
- queryParamBar3?: number;
2003
- fooBarBaz?: number;
2004
2004
},
2005
2005
params: RequestParams = {},
2006
2006
) =>
You can’t perform that action at this time.
0 commit comments