diff --git a/samples/angular-app/src/api/endpoints/pets/pets.msw.ts b/samples/angular-app/src/api/endpoints/pets/pets.msw.ts index 5cae0fbb5..c39bdd485 100644 --- a/samples/angular-app/src/api/endpoints/pets/pets.msw.ts +++ b/samples/angular-app/src/api/endpoints/pets/pets.msw.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/angular-app/src/api/endpoints/pets/pets.service.ts b/samples/angular-app/src/api/endpoints/pets/pets.service.ts index 119ee5d83..2981b9022 100644 --- a/samples/angular-app/src/api/endpoints/pets/pets.service.ts +++ b/samples/angular-app/src/api/endpoints/pets/pets.service.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/angular-app/src/api/model/createPetsBody.ts b/samples/angular-app/src/api/model/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/angular-app/src/api/model/createPetsBody.ts +++ b/samples/angular-app/src/api/model/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/angular-app/src/api/model/error.ts b/samples/angular-app/src/api/model/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/angular-app/src/api/model/error.ts +++ b/samples/angular-app/src/api/model/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/angular-app/src/api/model/index.ts b/samples/angular-app/src/api/model/index.ts index 2ba0037fb..02a0d1471 100644 --- a/samples/angular-app/src/api/model/index.ts +++ b/samples/angular-app/src/api/model/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/angular-app/src/api/model/listPetsParams.ts b/samples/angular-app/src/api/model/listPetsParams.ts index 8059e8a06..15fcc8b12 100644 --- a/samples/angular-app/src/api/model/listPetsParams.ts +++ b/samples/angular-app/src/api/model/listPetsParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/angular-app/src/api/model/pet.ts b/samples/angular-app/src/api/model/pet.ts index 664a63cc5..7d752dff9 100644 --- a/samples/angular-app/src/api/model/pet.ts +++ b/samples/angular-app/src/api/model/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/angular-app/src/api/model/pets.ts b/samples/angular-app/src/api/model/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/angular-app/src/api/model/pets.ts +++ b/samples/angular-app/src/api/model/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/basic/api/endpoints/petstoreFromFileSpec.ts b/samples/basic/api/endpoints/petstoreFromFileSpec.ts index 5c070431e..21dba1c52 100644 --- a/samples/basic/api/endpoints/petstoreFromFileSpec.ts +++ b/samples/basic/api/endpoints/petstoreFromFileSpec.ts @@ -1,21 +1,24 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -import axios from 'axios'; -import type { AxiosRequestConfig, AxiosResponse } from 'axios'; +import axios from 'axios' +import type { + AxiosRequestConfig, + AxiosResponse +} from 'axios' export type CreatePetsBody = { name: string; tag: string; }; export type ListPetsParams = { - /** - * How many items to return at one time (max 100) - */ - limit?: string; +/** + * How many items to return at one time (max 100) + */ +limit?: string; }; export interface Error { @@ -31,39 +34,46 @@ export interface Pet { export type Pets = Pet[]; -/** + + + + + /** * @summary List all pets */ export const listPets = >( - params?: ListPetsParams, - options?: AxiosRequestConfig, -): Promise => { - return axios.get(`/pets`, { + params?: ListPetsParams, options?: AxiosRequestConfig + ): Promise => { + return axios.get( + `/pets`,{ ...options, - params: { ...params, ...options?.params }, - }); -}; + params: {...params, ...options?.params},} + ); + } /** * @summary Create a pet */ export const createPets = >( - createPetsBody: CreatePetsBody, - options?: AxiosRequestConfig, -): Promise => { - return axios.post(`/pets`, createPetsBody, options); -}; + createPetsBody: CreatePetsBody, options?: AxiosRequestConfig + ): Promise => { + return axios.post( + `/pets`, + createPetsBody,options + ); + } /** * @summary Info for a specific pet */ export const showPetById = >( - petId: string, - options?: AxiosRequestConfig, -): Promise => { - return axios.get(`/pets/${petId}`, options); -}; + petId: string, options?: AxiosRequestConfig + ): Promise => { + return axios.get( + `/pets/${petId}`,options + ); + } -export type ListPetsResult = AxiosResponse; -export type CreatePetsResult = AxiosResponse; -export type ShowPetByIdResult = AxiosResponse; +export type ListPetsResult = AxiosResponse +export type CreatePetsResult = AxiosResponse +export type ShowPetByIdResult = AxiosResponse diff --git a/samples/basic/api/endpoints/petstoreFromFileSpecWithConfig.ts b/samples/basic/api/endpoints/petstoreFromFileSpecWithConfig.ts index 5c070431e..21dba1c52 100644 --- a/samples/basic/api/endpoints/petstoreFromFileSpecWithConfig.ts +++ b/samples/basic/api/endpoints/petstoreFromFileSpecWithConfig.ts @@ -1,21 +1,24 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -import axios from 'axios'; -import type { AxiosRequestConfig, AxiosResponse } from 'axios'; +import axios from 'axios' +import type { + AxiosRequestConfig, + AxiosResponse +} from 'axios' export type CreatePetsBody = { name: string; tag: string; }; export type ListPetsParams = { - /** - * How many items to return at one time (max 100) - */ - limit?: string; +/** + * How many items to return at one time (max 100) + */ +limit?: string; }; export interface Error { @@ -31,39 +34,46 @@ export interface Pet { export type Pets = Pet[]; -/** + + + + + /** * @summary List all pets */ export const listPets = >( - params?: ListPetsParams, - options?: AxiosRequestConfig, -): Promise => { - return axios.get(`/pets`, { + params?: ListPetsParams, options?: AxiosRequestConfig + ): Promise => { + return axios.get( + `/pets`,{ ...options, - params: { ...params, ...options?.params }, - }); -}; + params: {...params, ...options?.params},} + ); + } /** * @summary Create a pet */ export const createPets = >( - createPetsBody: CreatePetsBody, - options?: AxiosRequestConfig, -): Promise => { - return axios.post(`/pets`, createPetsBody, options); -}; + createPetsBody: CreatePetsBody, options?: AxiosRequestConfig + ): Promise => { + return axios.post( + `/pets`, + createPetsBody,options + ); + } /** * @summary Info for a specific pet */ export const showPetById = >( - petId: string, - options?: AxiosRequestConfig, -): Promise => { - return axios.get(`/pets/${petId}`, options); -}; + petId: string, options?: AxiosRequestConfig + ): Promise => { + return axios.get( + `/pets/${petId}`,options + ); + } -export type ListPetsResult = AxiosResponse; -export type CreatePetsResult = AxiosResponse; -export type ShowPetByIdResult = AxiosResponse; +export type ListPetsResult = AxiosResponse +export type CreatePetsResult = AxiosResponse +export type ShowPetByIdResult = AxiosResponse diff --git a/samples/basic/api/endpoints/petstoreFromFileSpecWithTransformer.ts b/samples/basic/api/endpoints/petstoreFromFileSpecWithTransformer.ts index e3eac38be..18bafb86c 100644 --- a/samples/basic/api/endpoints/petstoreFromFileSpecWithTransformer.ts +++ b/samples/basic/api/endpoints/petstoreFromFileSpecWithTransformer.ts @@ -1,100 +1,122 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -import axios from 'axios'; -import type { AxiosRequestConfig, AxiosResponse } from 'axios'; -import type { CreatePetsBody, ListPetsParams, Pet, Pets } from '../model'; -import { faker } from '@faker-js/faker'; -import { HttpResponse, delay, http } from 'msw'; +import axios from 'axios' +import type { + AxiosRequestConfig, + AxiosResponse +} from 'axios' +import type { + CreatePetsBody, + ListPetsParams, + Pet, + Pets +} from '../model' +import { + faker +} from '@faker-js/faker' +import { + HttpResponse, + delay, + http +} from 'msw' import listPetsMutator from '../mutator/response-type'; -/** + + + + /** * @summary List all pets */ -export const listPets = (params?: ListPetsParams, version: number = 1) => { - return listPetsMutator({ - url: `/v${version}/pets`, - method: 'GET', - params, - }); -}; - +export const listPets = ( + params?: ListPetsParams, + version: number = 1, + ) => { + return listPetsMutator( + {url: `/v${version}/pets`, method: 'GET', + params + }, + ); + } + /** * @summary Create a pet */ export const createPets = >( - createPetsBody: CreatePetsBody, - version: number = 1, - options?: AxiosRequestConfig, -): Promise => { - return axios.post(`/v${version}/pets`, createPetsBody, options); -}; + createPetsBody: CreatePetsBody, + version: number = 1, options?: AxiosRequestConfig + ): Promise => { + return axios.post( + `/v${version}/pets`, + createPetsBody,options + ); + } /** * @summary Info for a specific pet */ export const showPetById = >( - petId: string, - version: number = 1, - options?: AxiosRequestConfig, -): Promise => { - return axios.get(`/v${version}/pets/${petId}`, options); -}; + petId: string, + version: number = 1, options?: AxiosRequestConfig + ): Promise => { + return axios.get( + `/v${version}/pets/${petId}`,options + ); + } + type AwaitedInput = PromiseLike | T; -type Awaited = O extends AwaitedInput ? T : never; + type Awaited = O extends AwaitedInput ? T : never; + +export type ListPetsResult = NonNullable>> +export type CreatePetsResult = AxiosResponse +export type ShowPetByIdResult = AxiosResponse -export type ListPetsResult = NonNullable>>; -export type CreatePetsResult = AxiosResponse; -export type ShowPetByIdResult = AxiosResponse; -export const getListPetsMock = () => - Array.from( - { length: faker.number.int({ min: 1, max: 10 }) }, - (_, i) => i + 1, - ).map(() => ({ - id: faker.number.int({ min: undefined, max: undefined }), - name: 'jon', - tag: 'jon', - })); +export const getListPetsMock = () => (Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({id: faker.number.int({min: undefined, max: undefined}), name: 'jon', tag: 'jon'}))) -export const getShowPetByIdMock = () => - (() => ({ - id: faker.number.int({ min: 1, max: 99 }), - name: faker.person.firstName(), - tag: faker.helpers.arrayElement([faker.word.sample(), void 0]), - }))(); +export const getShowPetByIdMock = () => ((() => ({ + id: faker.number.int({ min: 1, max: 99 }), + name: faker.person.firstName(), + tag: faker.helpers.arrayElement([ + faker.word.sample(), + void 0 + ]) + }))()) export const getSwaggerPetstoreMock = () => [ - http.get('*/v:version/pets', async () => { - await delay(1000); - return new HttpResponse(JSON.stringify(getListPetsMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }); - }), - http.post('*/v:version/pets', async () => { - await delay(1000); - return new HttpResponse(null, { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }); - }), - http.get('*/v:version/pets/:petId', async () => { - await delay(1000); - return new HttpResponse(JSON.stringify(getShowPetByIdMock()), { - status: 200, - headers: { - 'Content-Type': 'application/json', - }, - }); - }), -]; +http.get('*/v:version/pets', async () => { + await delay(1000); + return new HttpResponse(JSON.stringify(getListPetsMock()), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + } + } + ) + }),http.post('*/v:version/pets', async () => { + await delay(1000); + return new HttpResponse(null, + { + status: 200, + headers: { + 'Content-Type': 'application/json', + } + } + ) + }),http.get('*/v:version/pets/:petId', async () => { + await delay(1000); + return new HttpResponse(JSON.stringify(getShowPetByIdMock()), + { + status: 200, + headers: { + 'Content-Type': 'application/json', + } + } + ) + }),] diff --git a/samples/basic/api/model/createPetsBody.ts b/samples/basic/api/model/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/basic/api/model/createPetsBody.ts +++ b/samples/basic/api/model/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/basic/api/model/error.ts b/samples/basic/api/model/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/basic/api/model/error.ts +++ b/samples/basic/api/model/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/basic/api/model/index.ts b/samples/basic/api/model/index.ts index 2ba0037fb..15dd2e80a 100644 --- a/samples/basic/api/model/index.ts +++ b/samples/basic/api/model/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 @@ -9,4 +9,4 @@ export * from './createPetsBody'; export * from './error'; export * from './listPetsParams'; export * from './pet'; -export * from './pets'; +export * from './pets'; \ No newline at end of file diff --git a/samples/basic/api/model/listPetsParams.ts b/samples/basic/api/model/listPetsParams.ts index 8059e8a06..a07bf0de2 100644 --- a/samples/basic/api/model/listPetsParams.ts +++ b/samples/basic/api/model/listPetsParams.ts @@ -1,13 +1,13 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ export type ListPetsParams = { - /** - * How many items to return at one time (max 100) - */ - limit?: string; +/** + * How many items to return at one time (max 100) + */ +limit?: string; }; diff --git a/samples/basic/api/model/pet.ts b/samples/basic/api/model/pet.ts index 664a63cc5..7d752dff9 100644 --- a/samples/basic/api/model/pet.ts +++ b/samples/basic/api/model/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/basic/api/model/pets.ts b/samples/basic/api/model/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/basic/api/model/pets.ts +++ b/samples/basic/api/model/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app-with-swr/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts b/samples/react-app-with-swr/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts index 8e8e31a4b..1d95970cc 100644 --- a/samples/react-app-with-swr/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts +++ b/samples/react-app-with-swr/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app-with-swr/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts b/samples/react-app-with-swr/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts index 4e9a2440c..3c26259ca 100644 --- a/samples/react-app-with-swr/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts +++ b/samples/react-app-with-swr/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app-with-swr/src/api/model/createPetsBody.ts b/samples/react-app-with-swr/src/api/model/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-app-with-swr/src/api/model/createPetsBody.ts +++ b/samples/react-app-with-swr/src/api/model/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app-with-swr/src/api/model/error.ts b/samples/react-app-with-swr/src/api/model/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-app-with-swr/src/api/model/error.ts +++ b/samples/react-app-with-swr/src/api/model/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app-with-swr/src/api/model/index.ts b/samples/react-app-with-swr/src/api/model/index.ts index 2ba0037fb..02a0d1471 100644 --- a/samples/react-app-with-swr/src/api/model/index.ts +++ b/samples/react-app-with-swr/src/api/model/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app-with-swr/src/api/model/listPetsParams.ts b/samples/react-app-with-swr/src/api/model/listPetsParams.ts index 8059e8a06..15fcc8b12 100644 --- a/samples/react-app-with-swr/src/api/model/listPetsParams.ts +++ b/samples/react-app-with-swr/src/api/model/listPetsParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app-with-swr/src/api/model/pet.ts b/samples/react-app-with-swr/src/api/model/pet.ts index e2a17acca..fb9f404d5 100644 --- a/samples/react-app-with-swr/src/api/model/pet.ts +++ b/samples/react-app-with-swr/src/api/model/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app-with-swr/src/api/model/pets.ts b/samples/react-app-with-swr/src/api/model/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/react-app-with-swr/src/api/model/pets.ts +++ b/samples/react-app-with-swr/src/api/model/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts b/samples/react-app/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts index f580d254d..4973d176a 100644 --- a/samples/react-app/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts +++ b/samples/react-app/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts b/samples/react-app/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts index 5f22d751c..438937aaa 100644 --- a/samples/react-app/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts +++ b/samples/react-app/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app/src/api/model/createPetsBody.ts b/samples/react-app/src/api/model/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-app/src/api/model/createPetsBody.ts +++ b/samples/react-app/src/api/model/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app/src/api/model/error.ts b/samples/react-app/src/api/model/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-app/src/api/model/error.ts +++ b/samples/react-app/src/api/model/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app/src/api/model/index.ts b/samples/react-app/src/api/model/index.ts index 2ba0037fb..02a0d1471 100644 --- a/samples/react-app/src/api/model/index.ts +++ b/samples/react-app/src/api/model/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app/src/api/model/listPetsParams.ts b/samples/react-app/src/api/model/listPetsParams.ts index 8059e8a06..15fcc8b12 100644 --- a/samples/react-app/src/api/model/listPetsParams.ts +++ b/samples/react-app/src/api/model/listPetsParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app/src/api/model/pet.ts b/samples/react-app/src/api/model/pet.ts index 664a63cc5..7d752dff9 100644 --- a/samples/react-app/src/api/model/pet.ts +++ b/samples/react-app/src/api/model/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-app/src/api/model/pets.ts b/samples/react-app/src/api/model/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/react-app/src/api/model/pets.ts +++ b/samples/react-app/src/api/model/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts b/samples/react-query/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts index e9f12a03f..75c350ca4 100644 --- a/samples/react-query/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts +++ b/samples/react-query/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts b/samples/react-query/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts index e8fa79cdd..43c74ba88 100644 --- a/samples/react-query/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts +++ b/samples/react-query/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/cat.ts b/samples/react-query/basic/src/api/model/cat.ts index 1f6f65015..93acfc71d 100644 --- a/samples/react-query/basic/src/api/model/cat.ts +++ b/samples/react-query/basic/src/api/model/cat.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/catType.ts b/samples/react-query/basic/src/api/model/catType.ts index 40b9e8283..1c1e0b996 100644 --- a/samples/react-query/basic/src/api/model/catType.ts +++ b/samples/react-query/basic/src/api/model/catType.ts @@ -1,11 +1,11 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type CatType = typeof CatType[keyof typeof CatType]; +export type CatType = (typeof CatType)[keyof typeof CatType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const CatType = { diff --git a/samples/react-query/basic/src/api/model/createPetsBody.ts b/samples/react-query/basic/src/api/model/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-query/basic/src/api/model/createPetsBody.ts +++ b/samples/react-query/basic/src/api/model/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/dachshund.ts b/samples/react-query/basic/src/api/model/dachshund.ts index d0c9722fc..59a2d7a0c 100644 --- a/samples/react-query/basic/src/api/model/dachshund.ts +++ b/samples/react-query/basic/src/api/model/dachshund.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/dachshundBreed.ts b/samples/react-query/basic/src/api/model/dachshundBreed.ts index b479dcc24..2bc6f618f 100644 --- a/samples/react-query/basic/src/api/model/dachshundBreed.ts +++ b/samples/react-query/basic/src/api/model/dachshundBreed.ts @@ -1,11 +1,12 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type DachshundBreed = typeof DachshundBreed[keyof typeof DachshundBreed]; +export type DachshundBreed = + (typeof DachshundBreed)[keyof typeof DachshundBreed]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const DachshundBreed = { diff --git a/samples/react-query/basic/src/api/model/dog.ts b/samples/react-query/basic/src/api/model/dog.ts index 46be22b33..e66f492ef 100644 --- a/samples/react-query/basic/src/api/model/dog.ts +++ b/samples/react-query/basic/src/api/model/dog.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/dogType.ts b/samples/react-query/basic/src/api/model/dogType.ts index 9311bc00c..4af87e26a 100644 --- a/samples/react-query/basic/src/api/model/dogType.ts +++ b/samples/react-query/basic/src/api/model/dogType.ts @@ -1,11 +1,11 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type DogType = typeof DogType[keyof typeof DogType]; +export type DogType = (typeof DogType)[keyof typeof DogType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const DogType = { diff --git a/samples/react-query/basic/src/api/model/error.ts b/samples/react-query/basic/src/api/model/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-query/basic/src/api/model/error.ts +++ b/samples/react-query/basic/src/api/model/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/index.ts b/samples/react-query/basic/src/api/model/index.ts index 7ed98007b..5c6a69c9d 100644 --- a/samples/react-query/basic/src/api/model/index.ts +++ b/samples/react-query/basic/src/api/model/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/labradoodle.ts b/samples/react-query/basic/src/api/model/labradoodle.ts index 9448e39ad..ae4a64998 100644 --- a/samples/react-query/basic/src/api/model/labradoodle.ts +++ b/samples/react-query/basic/src/api/model/labradoodle.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/labradoodleBreed.ts b/samples/react-query/basic/src/api/model/labradoodleBreed.ts index cbb27c9f2..70cdafcbf 100644 --- a/samples/react-query/basic/src/api/model/labradoodleBreed.ts +++ b/samples/react-query/basic/src/api/model/labradoodleBreed.ts @@ -1,12 +1,12 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ export type LabradoodleBreed = - typeof LabradoodleBreed[keyof typeof LabradoodleBreed]; + (typeof LabradoodleBreed)[keyof typeof LabradoodleBreed]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const LabradoodleBreed = { diff --git a/samples/react-query/basic/src/api/model/listPetsParams.ts b/samples/react-query/basic/src/api/model/listPetsParams.ts index 8059e8a06..15fcc8b12 100644 --- a/samples/react-query/basic/src/api/model/listPetsParams.ts +++ b/samples/react-query/basic/src/api/model/listPetsParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/pet.ts b/samples/react-query/basic/src/api/model/pet.ts index 693f33e2a..706b63f85 100644 --- a/samples/react-query/basic/src/api/model/pet.ts +++ b/samples/react-query/basic/src/api/model/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/basic/src/api/model/petCallingCode.ts b/samples/react-query/basic/src/api/model/petCallingCode.ts index fecad97fd..1be831dda 100644 --- a/samples/react-query/basic/src/api/model/petCallingCode.ts +++ b/samples/react-query/basic/src/api/model/petCallingCode.ts @@ -1,11 +1,12 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCallingCode = typeof PetCallingCode[keyof typeof PetCallingCode]; +export type PetCallingCode = + (typeof PetCallingCode)[keyof typeof PetCallingCode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCallingCode = { diff --git a/samples/react-query/basic/src/api/model/petCountry.ts b/samples/react-query/basic/src/api/model/petCountry.ts index bd35a9b2a..45c0dab34 100644 --- a/samples/react-query/basic/src/api/model/petCountry.ts +++ b/samples/react-query/basic/src/api/model/petCountry.ts @@ -1,11 +1,11 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCountry = typeof PetCountry[keyof typeof PetCountry]; +export type PetCountry = (typeof PetCountry)[keyof typeof PetCountry]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCountry = { diff --git a/samples/react-query/basic/src/api/model/pets.ts b/samples/react-query/basic/src/api/model/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/react-query/basic/src/api/model/pets.ts +++ b/samples/react-query/basic/src/api/model/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/custom-client/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts b/samples/react-query/custom-client/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts index bb19dc26d..9a8a835d8 100644 --- a/samples/react-query/custom-client/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts +++ b/samples/react-query/custom-client/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/custom-client/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts b/samples/react-query/custom-client/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts index 96e533b3c..9321983ce 100644 --- a/samples/react-query/custom-client/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts +++ b/samples/react-query/custom-client/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/custom-client/src/api/model/createPetsBody.ts b/samples/react-query/custom-client/src/api/model/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-query/custom-client/src/api/model/createPetsBody.ts +++ b/samples/react-query/custom-client/src/api/model/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/custom-client/src/api/model/error.ts b/samples/react-query/custom-client/src/api/model/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-query/custom-client/src/api/model/error.ts +++ b/samples/react-query/custom-client/src/api/model/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/custom-client/src/api/model/index.ts b/samples/react-query/custom-client/src/api/model/index.ts index b0db027fa..e0c0b01ce 100644 --- a/samples/react-query/custom-client/src/api/model/index.ts +++ b/samples/react-query/custom-client/src/api/model/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/custom-client/src/api/model/listPetsParams.ts b/samples/react-query/custom-client/src/api/model/listPetsParams.ts index 8059e8a06..15fcc8b12 100644 --- a/samples/react-query/custom-client/src/api/model/listPetsParams.ts +++ b/samples/react-query/custom-client/src/api/model/listPetsParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/custom-client/src/api/model/pet.ts b/samples/react-query/custom-client/src/api/model/pet.ts index c08883841..e0043164c 100644 --- a/samples/react-query/custom-client/src/api/model/pet.ts +++ b/samples/react-query/custom-client/src/api/model/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/custom-client/src/api/model/petCallingCode.ts b/samples/react-query/custom-client/src/api/model/petCallingCode.ts index fecad97fd..1be831dda 100644 --- a/samples/react-query/custom-client/src/api/model/petCallingCode.ts +++ b/samples/react-query/custom-client/src/api/model/petCallingCode.ts @@ -1,11 +1,12 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCallingCode = typeof PetCallingCode[keyof typeof PetCallingCode]; +export type PetCallingCode = + (typeof PetCallingCode)[keyof typeof PetCallingCode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCallingCode = { diff --git a/samples/react-query/custom-client/src/api/model/petCountry.ts b/samples/react-query/custom-client/src/api/model/petCountry.ts index bd35a9b2a..45c0dab34 100644 --- a/samples/react-query/custom-client/src/api/model/petCountry.ts +++ b/samples/react-query/custom-client/src/api/model/petCountry.ts @@ -1,11 +1,11 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCountry = typeof PetCountry[keyof typeof PetCountry]; +export type PetCountry = (typeof PetCountry)[keyof typeof PetCountry]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCountry = { diff --git a/samples/react-query/custom-client/src/api/model/pets.ts b/samples/react-query/custom-client/src/api/model/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/react-query/custom-client/src/api/model/pets.ts +++ b/samples/react-query/custom-client/src/api/model/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data-mutator/endpoints.ts b/samples/react-query/form-data-mutator/endpoints.ts index bf237b524..21a86bc0c 100644 --- a/samples/react-query/form-data-mutator/endpoints.ts +++ b/samples/react-query/form-data-mutator/endpoints.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data-mutator/models/createPetsBody.ts b/samples/react-query/form-data-mutator/models/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-query/form-data-mutator/models/createPetsBody.ts +++ b/samples/react-query/form-data-mutator/models/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data-mutator/models/error.ts b/samples/react-query/form-data-mutator/models/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-query/form-data-mutator/models/error.ts +++ b/samples/react-query/form-data-mutator/models/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data-mutator/models/index.ts b/samples/react-query/form-data-mutator/models/index.ts index 84c330062..d4122ee0e 100644 --- a/samples/react-query/form-data-mutator/models/index.ts +++ b/samples/react-query/form-data-mutator/models/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data-mutator/models/pet.ts b/samples/react-query/form-data-mutator/models/pet.ts index c08883841..e0043164c 100644 --- a/samples/react-query/form-data-mutator/models/pet.ts +++ b/samples/react-query/form-data-mutator/models/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data-mutator/models/petCallingCode.ts b/samples/react-query/form-data-mutator/models/petCallingCode.ts index fecad97fd..1be831dda 100644 --- a/samples/react-query/form-data-mutator/models/petCallingCode.ts +++ b/samples/react-query/form-data-mutator/models/petCallingCode.ts @@ -1,11 +1,12 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCallingCode = typeof PetCallingCode[keyof typeof PetCallingCode]; +export type PetCallingCode = + (typeof PetCallingCode)[keyof typeof PetCallingCode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCallingCode = { diff --git a/samples/react-query/form-data-mutator/models/petCountry.ts b/samples/react-query/form-data-mutator/models/petCountry.ts index bd35a9b2a..45c0dab34 100644 --- a/samples/react-query/form-data-mutator/models/petCountry.ts +++ b/samples/react-query/form-data-mutator/models/petCountry.ts @@ -1,11 +1,11 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCountry = typeof PetCountry[keyof typeof PetCountry]; +export type PetCountry = (typeof PetCountry)[keyof typeof PetCountry]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCountry = { diff --git a/samples/react-query/form-data/endpoints.ts b/samples/react-query/form-data/endpoints.ts index c4b4ee79a..0c8d38ccc 100644 --- a/samples/react-query/form-data/endpoints.ts +++ b/samples/react-query/form-data/endpoints.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data/models/createPetsBody.ts b/samples/react-query/form-data/models/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-query/form-data/models/createPetsBody.ts +++ b/samples/react-query/form-data/models/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data/models/error.ts b/samples/react-query/form-data/models/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-query/form-data/models/error.ts +++ b/samples/react-query/form-data/models/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data/models/index.ts b/samples/react-query/form-data/models/index.ts index 84c330062..d4122ee0e 100644 --- a/samples/react-query/form-data/models/index.ts +++ b/samples/react-query/form-data/models/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data/models/pet.ts b/samples/react-query/form-data/models/pet.ts index c08883841..e0043164c 100644 --- a/samples/react-query/form-data/models/pet.ts +++ b/samples/react-query/form-data/models/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-data/models/petCallingCode.ts b/samples/react-query/form-data/models/petCallingCode.ts index fecad97fd..1be831dda 100644 --- a/samples/react-query/form-data/models/petCallingCode.ts +++ b/samples/react-query/form-data/models/petCallingCode.ts @@ -1,11 +1,12 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCallingCode = typeof PetCallingCode[keyof typeof PetCallingCode]; +export type PetCallingCode = + (typeof PetCallingCode)[keyof typeof PetCallingCode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCallingCode = { diff --git a/samples/react-query/form-data/models/petCountry.ts b/samples/react-query/form-data/models/petCountry.ts index bd35a9b2a..45c0dab34 100644 --- a/samples/react-query/form-data/models/petCountry.ts +++ b/samples/react-query/form-data/models/petCountry.ts @@ -1,11 +1,11 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCountry = typeof PetCountry[keyof typeof PetCountry]; +export type PetCountry = (typeof PetCountry)[keyof typeof PetCountry]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCountry = { diff --git a/samples/react-query/form-url-encoded-mutator/endpoints.ts b/samples/react-query/form-url-encoded-mutator/endpoints.ts index 64e2474e0..611f4f468 100644 --- a/samples/react-query/form-url-encoded-mutator/endpoints.ts +++ b/samples/react-query/form-url-encoded-mutator/endpoints.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-url-encoded-mutator/models/createPetsBody.ts b/samples/react-query/form-url-encoded-mutator/models/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-query/form-url-encoded-mutator/models/createPetsBody.ts +++ b/samples/react-query/form-url-encoded-mutator/models/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-url-encoded-mutator/models/error.ts b/samples/react-query/form-url-encoded-mutator/models/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-query/form-url-encoded-mutator/models/error.ts +++ b/samples/react-query/form-url-encoded-mutator/models/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-url-encoded-mutator/models/index.ts b/samples/react-query/form-url-encoded-mutator/models/index.ts index 84c330062..d4122ee0e 100644 --- a/samples/react-query/form-url-encoded-mutator/models/index.ts +++ b/samples/react-query/form-url-encoded-mutator/models/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-url-encoded-mutator/models/pet.ts b/samples/react-query/form-url-encoded-mutator/models/pet.ts index c08883841..e0043164c 100644 --- a/samples/react-query/form-url-encoded-mutator/models/pet.ts +++ b/samples/react-query/form-url-encoded-mutator/models/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-url-encoded-mutator/models/petCallingCode.ts b/samples/react-query/form-url-encoded-mutator/models/petCallingCode.ts index fecad97fd..1be831dda 100644 --- a/samples/react-query/form-url-encoded-mutator/models/petCallingCode.ts +++ b/samples/react-query/form-url-encoded-mutator/models/petCallingCode.ts @@ -1,11 +1,12 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCallingCode = typeof PetCallingCode[keyof typeof PetCallingCode]; +export type PetCallingCode = + (typeof PetCallingCode)[keyof typeof PetCallingCode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCallingCode = { diff --git a/samples/react-query/form-url-encoded-mutator/models/petCountry.ts b/samples/react-query/form-url-encoded-mutator/models/petCountry.ts index bd35a9b2a..45c0dab34 100644 --- a/samples/react-query/form-url-encoded-mutator/models/petCountry.ts +++ b/samples/react-query/form-url-encoded-mutator/models/petCountry.ts @@ -1,11 +1,11 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCountry = typeof PetCountry[keyof typeof PetCountry]; +export type PetCountry = (typeof PetCountry)[keyof typeof PetCountry]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCountry = { diff --git a/samples/react-query/form-url-encoded/endpoints.ts b/samples/react-query/form-url-encoded/endpoints.ts index efbe775f1..51ede67e6 100644 --- a/samples/react-query/form-url-encoded/endpoints.ts +++ b/samples/react-query/form-url-encoded/endpoints.ts @@ -1,82 +1,83 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -import { useMutation } from 'react-query'; -import type { MutationFunction, UseMutationOptions } from 'react-query'; -import type { CreatePetsBody, Error, Pet } from './models'; +import { + useMutation +} from 'react-query' +import type { + MutationFunction, + UseMutationOptions +} from 'react-query' +import type { + CreatePetsBody, + Error, + Pet +} from './models' import { customInstance } from './custom-instance'; + type AwaitedInput = PromiseLike | T; -type Awaited = O extends AwaitedInput ? T : never; + type Awaited = O extends AwaitedInput ? T : never; + + /** * @summary Create a pet */ -export const createPets = (createPetsBody: CreatePetsBody) => { - const formUrlEncoded = new URLSearchParams(); - formUrlEncoded.append('name', createPetsBody.name); - formUrlEncoded.append('tag', createPetsBody.tag); - - return customInstance({ - url: `/pets`, - method: 'POST', - headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, - data: formUrlEncoded, - }); -}; - -export const getCreatePetsMutationOptions = < - TError = Error, - TContext = unknown, ->(options?: { - mutation?: UseMutationOptions< - Awaited>, - TError, - { data: CreatePetsBody }, - TContext - >; -}): UseMutationOptions< - Awaited>, - TError, - { data: CreatePetsBody }, - TContext -> => { - const { mutation: mutationOptions } = options ?? {}; - - const mutationFn: MutationFunction< - Awaited>, - { data: CreatePetsBody } - > = (props) => { - const { data } = props ?? {}; - - return createPets(data); - }; - - return { mutationFn, ...mutationOptions }; -}; - -export type CreatePetsMutationResult = NonNullable< - Awaited> ->; -export type CreatePetsMutationBody = CreatePetsBody; -export type CreatePetsMutationError = Error; +export const createPets = ( + createPetsBody: CreatePetsBody, + ) => { + + const formUrlEncoded = new URLSearchParams(); +formUrlEncoded.append('name', createPetsBody.name) +formUrlEncoded.append('tag', createPetsBody.tag) -/** + return customInstance( + {url: `/pets`, method: 'POST', + headers: {'Content-Type': 'application/x-www-form-urlencoded', }, + data: formUrlEncoded + }, + ); + } + + + +export const getCreatePetsMutationOptions = (options?: { mutation?:UseMutationOptions>, TError,{data: CreatePetsBody}, TContext>, } +): UseMutationOptions>, TError,{data: CreatePetsBody}, TContext> => { + const {mutation: mutationOptions} = options ?? {}; + + + + + const mutationFn: MutationFunction>, {data: CreatePetsBody}> = (props) => { + const {data} = props ?? {}; + + return createPets(data,) + } + + + + + return { mutationFn, ...mutationOptions }} + + export type CreatePetsMutationResult = NonNullable>> + export type CreatePetsMutationBody = CreatePetsBody + export type CreatePetsMutationError = Error + + /** * @summary Create a pet */ -export const useCreatePets = (options?: { - mutation?: UseMutationOptions< - Awaited>, - TError, - { data: CreatePetsBody }, - TContext - >; -}) => { - const mutationOptions = getCreatePetsMutationOptions(options); - - return useMutation(mutationOptions); -}; +export const useCreatePets = (options?: { mutation?:UseMutationOptions>, TError,{data: CreatePetsBody}, TContext>, } +) => { + + const mutationOptions = getCreatePetsMutationOptions(options); + + return useMutation(mutationOptions); + } + diff --git a/samples/react-query/form-url-encoded/models/createPetsBody.ts b/samples/react-query/form-url-encoded/models/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-query/form-url-encoded/models/createPetsBody.ts +++ b/samples/react-query/form-url-encoded/models/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-url-encoded/models/error.ts b/samples/react-query/form-url-encoded/models/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-query/form-url-encoded/models/error.ts +++ b/samples/react-query/form-url-encoded/models/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-url-encoded/models/index.ts b/samples/react-query/form-url-encoded/models/index.ts index 84c330062..41ded353a 100644 --- a/samples/react-query/form-url-encoded/models/index.ts +++ b/samples/react-query/form-url-encoded/models/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 @@ -9,4 +9,4 @@ export * from './createPetsBody'; export * from './error'; export * from './pet'; export * from './petCallingCode'; -export * from './petCountry'; +export * from './petCountry'; \ No newline at end of file diff --git a/samples/react-query/form-url-encoded/models/pet.ts b/samples/react-query/form-url-encoded/models/pet.ts index c08883841..e0043164c 100644 --- a/samples/react-query/form-url-encoded/models/pet.ts +++ b/samples/react-query/form-url-encoded/models/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/form-url-encoded/models/petCallingCode.ts b/samples/react-query/form-url-encoded/models/petCallingCode.ts index fecad97fd..0e11be1dd 100644 --- a/samples/react-query/form-url-encoded/models/petCallingCode.ts +++ b/samples/react-query/form-url-encoded/models/petCallingCode.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 @@ -7,6 +7,7 @@ export type PetCallingCode = typeof PetCallingCode[keyof typeof PetCallingCode]; + // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCallingCode = { '+33': '+33', diff --git a/samples/react-query/form-url-encoded/models/petCountry.ts b/samples/react-query/form-url-encoded/models/petCountry.ts index bd35a9b2a..5f53e1094 100644 --- a/samples/react-query/form-url-encoded/models/petCountry.ts +++ b/samples/react-query/form-url-encoded/models/petCountry.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 @@ -7,8 +7,9 @@ export type PetCountry = typeof PetCountry[keyof typeof PetCountry]; + // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCountry = { - "People's_Republic_of_China": "People's Republic of China", + 'People\'s_Republic_of_China': 'People\'s Republic of China', Uruguay: 'Uruguay', } as const; diff --git a/samples/react-query/hook-mutator/endpoints.ts b/samples/react-query/hook-mutator/endpoints.ts index 75d7575d1..a046e9803 100644 --- a/samples/react-query/hook-mutator/endpoints.ts +++ b/samples/react-query/hook-mutator/endpoints.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/hook-mutator/models/createPetsBody.ts b/samples/react-query/hook-mutator/models/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/react-query/hook-mutator/models/createPetsBody.ts +++ b/samples/react-query/hook-mutator/models/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/hook-mutator/models/error.ts b/samples/react-query/hook-mutator/models/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/react-query/hook-mutator/models/error.ts +++ b/samples/react-query/hook-mutator/models/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/hook-mutator/models/index.ts b/samples/react-query/hook-mutator/models/index.ts index b0db027fa..e0c0b01ce 100644 --- a/samples/react-query/hook-mutator/models/index.ts +++ b/samples/react-query/hook-mutator/models/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/hook-mutator/models/listPetsParams.ts b/samples/react-query/hook-mutator/models/listPetsParams.ts index 8059e8a06..15fcc8b12 100644 --- a/samples/react-query/hook-mutator/models/listPetsParams.ts +++ b/samples/react-query/hook-mutator/models/listPetsParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/hook-mutator/models/pet.ts b/samples/react-query/hook-mutator/models/pet.ts index c08883841..e0043164c 100644 --- a/samples/react-query/hook-mutator/models/pet.ts +++ b/samples/react-query/hook-mutator/models/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/react-query/hook-mutator/models/petCallingCode.ts b/samples/react-query/hook-mutator/models/petCallingCode.ts index fecad97fd..1be831dda 100644 --- a/samples/react-query/hook-mutator/models/petCallingCode.ts +++ b/samples/react-query/hook-mutator/models/petCallingCode.ts @@ -1,11 +1,12 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCallingCode = typeof PetCallingCode[keyof typeof PetCallingCode]; +export type PetCallingCode = + (typeof PetCallingCode)[keyof typeof PetCallingCode]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCallingCode = { diff --git a/samples/react-query/hook-mutator/models/petCountry.ts b/samples/react-query/hook-mutator/models/petCountry.ts index bd35a9b2a..45c0dab34 100644 --- a/samples/react-query/hook-mutator/models/petCountry.ts +++ b/samples/react-query/hook-mutator/models/petCountry.ts @@ -1,11 +1,11 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 */ -export type PetCountry = typeof PetCountry[keyof typeof PetCountry]; +export type PetCountry = (typeof PetCountry)[keyof typeof PetCountry]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const PetCountry = { diff --git a/samples/react-query/hook-mutator/models/pets.ts b/samples/react-query/hook-mutator/models/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/react-query/hook-mutator/models/pets.ts +++ b/samples/react-query/hook-mutator/models/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/svelte-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts b/samples/svelte-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts index 7682400d6..c2fc21e9d 100644 --- a/samples/svelte-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts +++ b/samples/svelte-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/svelte-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts b/samples/svelte-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts index 7c67b5ae1..0628a7eb2 100644 --- a/samples/svelte-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts +++ b/samples/svelte-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/svelte-query/src/api/model/createPetsBody.ts b/samples/svelte-query/src/api/model/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/svelte-query/src/api/model/createPetsBody.ts +++ b/samples/svelte-query/src/api/model/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/svelte-query/src/api/model/error.ts b/samples/svelte-query/src/api/model/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/svelte-query/src/api/model/error.ts +++ b/samples/svelte-query/src/api/model/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/svelte-query/src/api/model/index.ts b/samples/svelte-query/src/api/model/index.ts index 2ba0037fb..02a0d1471 100644 --- a/samples/svelte-query/src/api/model/index.ts +++ b/samples/svelte-query/src/api/model/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/svelte-query/src/api/model/listPetsParams.ts b/samples/svelte-query/src/api/model/listPetsParams.ts index 8059e8a06..15fcc8b12 100644 --- a/samples/svelte-query/src/api/model/listPetsParams.ts +++ b/samples/svelte-query/src/api/model/listPetsParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/svelte-query/src/api/model/pet.ts b/samples/svelte-query/src/api/model/pet.ts index 664a63cc5..7d752dff9 100644 --- a/samples/svelte-query/src/api/model/pet.ts +++ b/samples/svelte-query/src/api/model/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/svelte-query/src/api/model/pets.ts b/samples/svelte-query/src/api/model/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/svelte-query/src/api/model/pets.ts +++ b/samples/svelte-query/src/api/model/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/vue-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts b/samples/vue-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts index d868cfe68..6a0f24d12 100644 --- a/samples/vue-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts +++ b/samples/vue-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.msw.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/vue-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts b/samples/vue-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts index d55a97999..752989e8e 100644 --- a/samples/vue-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts +++ b/samples/vue-query/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/vue-query/src/api/model/createPetsBody.ts b/samples/vue-query/src/api/model/createPetsBody.ts index f2cdd30fb..4f6117481 100644 --- a/samples/vue-query/src/api/model/createPetsBody.ts +++ b/samples/vue-query/src/api/model/createPetsBody.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/vue-query/src/api/model/error.ts b/samples/vue-query/src/api/model/error.ts index 75424d9fe..8e9f0536c 100644 --- a/samples/vue-query/src/api/model/error.ts +++ b/samples/vue-query/src/api/model/error.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/vue-query/src/api/model/index.ts b/samples/vue-query/src/api/model/index.ts index 2ba0037fb..02a0d1471 100644 --- a/samples/vue-query/src/api/model/index.ts +++ b/samples/vue-query/src/api/model/index.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/vue-query/src/api/model/listPetsParams.ts b/samples/vue-query/src/api/model/listPetsParams.ts index 680eadeb9..586c2447e 100644 --- a/samples/vue-query/src/api/model/listPetsParams.ts +++ b/samples/vue-query/src/api/model/listPetsParams.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/vue-query/src/api/model/pet.ts b/samples/vue-query/src/api/model/pet.ts index 5893baf6f..b20f80bc4 100644 --- a/samples/vue-query/src/api/model/pet.ts +++ b/samples/vue-query/src/api/model/pet.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0 diff --git a/samples/vue-query/src/api/model/pets.ts b/samples/vue-query/src/api/model/pets.ts index 945d41217..8c646bfb0 100644 --- a/samples/vue-query/src/api/model/pets.ts +++ b/samples/vue-query/src/api/model/pets.ts @@ -1,5 +1,5 @@ /** - * Generated by orval v6.21.0 🍺 + * Generated by orval v6.22.0 🍺 * Do not edit manually. * Swagger Petstore * OpenAPI spec version: 1.0.0