File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/rtk-query-codegen-openapi Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ export async function generateApi(
259
259
const allNames = parameters . map ( ( p ) => p . name ) ;
260
260
const queryArg : QueryArgDefinitions = { } ;
261
261
for ( const param of parameters ) {
262
- const isPureSnakeCase = / ^ [ a - z A - Z ] [ \\ w ] * $ / . test ( param . name ) ;
262
+ const isPureSnakeCase = / ^ [ a - z A - Z ] [ \w ] * $ / . test ( param . name ) ;
263
263
const camelCaseName = camelCase ( param . name ) ;
264
264
265
265
const name = isPureSnakeCase && ! allNames . includes ( camelCaseName ) ? camelCaseName : param . name ;
Original file line number Diff line number Diff line change @@ -1005,7 +1005,7 @@ const injectedRtkApi = api
1005
1005
overrideExisting: false,
1006
1006
});
1007
1007
export { injectedRtkApi as enhancedApi };
1008
- export type GetStructureDefinitionApiResponse = unknown ;
1008
+ export type GetStructureDefinitionApiResponse = /** status 200 Success */ FhirJsonResource ;
1009
1009
export type GetStructureDefinitionApiArg = {
1010
1010
/** Some description */
1011
1011
foo?: any;
@@ -1024,6 +1024,7 @@ export type GetStructureDefinitionApiArg = {
1024
1024
/** Some description */
1025
1025
naming_conflict?: any;
1026
1026
};
1027
+ export type FhirJsonResource = object;
1027
1028
export const { useGetStructureDefinitionQuery } = injectedRtkApi;
1028
1029
1029
1030
`;
You can’t perform that action at this time.
0 commit comments