@@ -4,7 +4,7 @@ exports[`CLI options testing should accept a valid url as the target swagger fil
4
4
import { createApi, fetchBaseQuery } from "@rtk-incubator/rtk-query";
5
5
export const api = createApi({
6
6
baseQuery: fetchBaseQuery({ baseUrl: "/api/v3" }),
7
- entityTypes : [],
7
+ tagTypes : [],
8
8
endpoints: (build) => ({
9
9
updatePet: build.mutation<UpdatePetApiResponse, UpdatePetApiArg>({
10
10
query: (queryArg) => ({ url: \`/pet\`, method: "PUT", body: queryArg.pet }),
@@ -273,7 +273,7 @@ exports[`CLI options testing should create a file when --file is specified 1`] =
273
273
import { createApi, fetchBaseQuery } from '@rtk-incubator/rtk-query';
274
274
export const api = createApi({
275
275
baseQuery: fetchBaseQuery({ baseUrl: '/api/v3' }),
276
- entityTypes : [],
276
+ tagTypes : [],
277
277
endpoints: (build) => ({
278
278
getHealthcheck: build.query<GetHealthcheckApiResponse, GetHealthcheckApiArg>({
279
279
query: () => ({ url: \`/healthcheck\` }),
@@ -501,7 +501,7 @@ import { createApi } from "@rtk-incubator/rtk-query/react";
501
501
import { fetchBaseQuery } from "@rtk-incubator/rtk-query";
502
502
export const api = createApi({
503
503
baseQuery: fetchBaseQuery({ baseUrl: "/api/v3" }),
504
- entityTypes : [],
504
+ tagTypes : [],
505
505
endpoints: (build) => ({
506
506
getHealthcheck: build.query<
507
507
GetHealthcheckApiResponse,
@@ -802,7 +802,7 @@ exports[`CLI options testing should log output to the console when a filename is
802
802
import { createApi, fetchBaseQuery } from "@rtk-incubator/rtk-query";
803
803
export const api = createApi({
804
804
baseQuery: fetchBaseQuery({ baseUrl: "/api/v3" }),
805
- entityTypes : [],
805
+ tagTypes : [],
806
806
endpoints: (build) => ({
807
807
getHealthcheck: build.query<
808
808
GetHealthcheckApiResponse,
@@ -1081,7 +1081,7 @@ exports[`yaml parsing should be able to use read a yaml file and create a file w
1081
1081
import { createApi, fetchBaseQuery } from '@rtk-incubator/rtk-query';
1082
1082
export const api = createApi({
1083
1083
baseQuery: fetchBaseQuery({ baseUrl: '/api/v3' }),
1084
- entityTypes : [],
1084
+ tagTypes : [],
1085
1085
endpoints: (build) => ({
1086
1086
updatePet: build.mutation<UpdatePetApiResponse, UpdatePetApiArg>({
1087
1087
query: (queryArg) => ({ url: \`/pet\`, method: 'PUT', body: queryArg.pet }),
@@ -1301,7 +1301,7 @@ exports[`yaml parsing should parse a yaml schema from a URL 1`] = `
1301
1301
import { createApi, fetchBaseQuery } from "@rtk-incubator/rtk-query";
1302
1302
export const api = createApi({
1303
1303
baseQuery: fetchBaseQuery({ baseUrl: "/api/v3" }),
1304
- entityTypes : [],
1304
+ tagTypes : [],
1305
1305
endpoints: (build) => ({
1306
1306
updatePet: build.mutation<UpdatePetApiResponse, UpdatePetApiArg>({
1307
1307
query: (queryArg) => ({ url: \`/pet\`, method: "PUT", body: queryArg.pet }),
0 commit comments