react-query-lightbase-codegen 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -606,7 +606,7 @@ const importOpenApi = async ({ data, format, apiDir, }) => {
|
|
|
606
606
|
import { useQuery, useMutation, UseQueryOptions, UseMutationOptions, QueryKey } from 'react-query';
|
|
607
607
|
import queryString from 'query-string';
|
|
608
608
|
import {AxiosError} from 'axios';
|
|
609
|
-
import { api } from ${apiDir};
|
|
609
|
+
import { api } from '${apiDir}';
|
|
610
610
|
`;
|
|
611
611
|
output += '\n\n// SCEHMAS\n';
|
|
612
612
|
output += exports.generateSchemasDefinition(specs.components && specs.components.schemas);
|
|
@@ -585,7 +585,7 @@ export const importOpenApi = async ({ data, format, apiDir, }) => {
|
|
|
585
585
|
import { useQuery, useMutation, UseQueryOptions, UseMutationOptions, QueryKey } from 'react-query';
|
|
586
586
|
import queryString from 'query-string';
|
|
587
587
|
import {AxiosError} from 'axios';
|
|
588
|
-
import { api } from ${apiDir};
|
|
588
|
+
import { api } from '${apiDir}';
|
|
589
589
|
`;
|
|
590
590
|
output += '\n\n// SCEHMAS\n';
|
|
591
591
|
output += generateSchemasDefinition(specs.components && specs.components.schemas);
|