@kubb/plugin-client 3.0.10 → 3.0.12
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.
- package/package.json +11 -11
- package/src/generators/__snapshots__/deletePet.ts +1 -1
- package/src/generators/__snapshots__/deletePetObject.ts +1 -1
- package/src/generators/__snapshots__/findByTags.ts +1 -1
- package/src/generators/__snapshots__/findByTagsFull.ts +1 -1
- package/src/generators/__snapshots__/findByTagsObject.ts +1 -1
- package/src/generators/__snapshots__/findByTagsWithZod.ts +1 -1
- package/src/generators/__snapshots__/findByTagsWithZodFull.ts +1 -1
- package/src/generators/__snapshots__/importPath.ts +1 -1
- package/src/generators/__snapshots__/updatePetById.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-client",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"description": "Generator plugin-client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -72,20 +72,20 @@
|
|
|
72
72
|
"!/**/__tests__/**"
|
|
73
73
|
],
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@kubb/core": "3.0.
|
|
76
|
-
"@kubb/fs": "3.0.
|
|
77
|
-
"@kubb/oas": "3.0.
|
|
78
|
-
"@kubb/plugin-oas": "3.0.
|
|
79
|
-
"@kubb/plugin-ts": "3.0.
|
|
80
|
-
"@kubb/plugin-zod": "3.0.
|
|
81
|
-
"@kubb/react": "3.0.
|
|
75
|
+
"@kubb/core": "3.0.12",
|
|
76
|
+
"@kubb/fs": "3.0.12",
|
|
77
|
+
"@kubb/oas": "3.0.12",
|
|
78
|
+
"@kubb/plugin-oas": "3.0.12",
|
|
79
|
+
"@kubb/plugin-ts": "3.0.12",
|
|
80
|
+
"@kubb/plugin-zod": "3.0.12",
|
|
81
|
+
"@kubb/react": "3.0.12"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"axios": "^1.7.7",
|
|
85
85
|
"tsup": "^8.3.5",
|
|
86
|
-
"typescript": "^5.
|
|
87
|
-
"@kubb/config-ts": "3.0.
|
|
88
|
-
"@kubb/config-tsup": "3.0.
|
|
86
|
+
"typescript": "^5.7.2",
|
|
87
|
+
"@kubb/config-ts": "3.0.12",
|
|
88
|
+
"@kubb/config-tsup": "3.0.12"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@kubb/react": "^3.0.0",
|
|
@@ -5,7 +5,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description delete a pet
|
|
7
7
|
* @summary Deletes a pet
|
|
8
|
-
* @link /pet/:petId
|
|
8
|
+
* {@link /pet/:petId}
|
|
9
9
|
*/
|
|
10
10
|
export async function deletePet(petId: DeletePetPathParams["petId"], headers?: DeletePetHeaderParams, config: Partial<RequestConfig> = {}) {
|
|
11
11
|
const res = await client<DeletePetMutationResponse, DeletePet400, unknown>({ method: "DELETE", url: `/pet/${petId}`, headers: { ...headers, ...config.headers }, ...config });
|
|
@@ -5,7 +5,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description delete a pet
|
|
7
7
|
* @summary Deletes a pet
|
|
8
|
-
* @link /pet/:petId
|
|
8
|
+
* {@link /pet/:petId}
|
|
9
9
|
*/
|
|
10
10
|
export async function deletePet({ petId }: {
|
|
11
11
|
petId: DeletePetPathParams["petId"];
|
|
@@ -5,7 +5,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
|
7
7
|
* @summary Finds Pets by tags
|
|
8
|
-
* @link /pet/findByTags
|
|
8
|
+
* {@link /pet/findByTags}
|
|
9
9
|
*/
|
|
10
10
|
export async function findPetsByTags(params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
|
|
11
11
|
const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, ...config });
|
|
@@ -5,7 +5,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
|
7
7
|
* @summary Finds Pets by tags
|
|
8
|
-
* @link /pet/findByTags
|
|
8
|
+
* {@link /pet/findByTags}
|
|
9
9
|
*/
|
|
10
10
|
export async function findPetsByTags(params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
|
|
11
11
|
const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, ...config });
|
|
@@ -5,7 +5,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
|
7
7
|
* @summary Finds Pets by tags
|
|
8
|
-
* @link /pet/findByTags
|
|
8
|
+
* {@link /pet/findByTags}
|
|
9
9
|
*/
|
|
10
10
|
export async function findPetsByTags({ params }: {
|
|
11
11
|
params?: FindPetsByTagsQueryParams;
|
|
@@ -5,7 +5,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
|
7
7
|
* @summary Finds Pets by tags
|
|
8
|
-
* @link /pet/findByTags
|
|
8
|
+
* {@link /pet/findByTags}
|
|
9
9
|
*/
|
|
10
10
|
export async function findPetsByTags(params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
|
|
11
11
|
const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, ...config });
|
|
@@ -5,7 +5,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
|
7
7
|
* @summary Finds Pets by tags
|
|
8
|
-
* @link /pet/findByTags
|
|
8
|
+
* {@link /pet/findByTags}
|
|
9
9
|
*/
|
|
10
10
|
export async function findPetsByTags(params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
|
|
11
11
|
const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, ...config });
|
|
@@ -5,7 +5,7 @@ import type { RequestConfig } from "axios";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
|
7
7
|
* @summary Finds Pets by tags
|
|
8
|
-
* @link /pet/findByTags
|
|
8
|
+
* {@link /pet/findByTags}
|
|
9
9
|
*/
|
|
10
10
|
export async function findPetsByTags(params?: FindPetsByTagsQueryParams, config: Partial<RequestConfig> = {}) {
|
|
11
11
|
const res = await client<FindPetsByTagsQueryResponse, FindPetsByTags400, unknown>({ method: "GET", url: `/pet/findByTags`, params, ...config });
|
|
@@ -4,7 +4,7 @@ import type { RequestConfig } from "@kubb/plugin-client/client";
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @summary Updates a pet in the store with form data
|
|
7
|
-
* @link /pet/:petId
|
|
7
|
+
* {@link /pet/:petId}
|
|
8
8
|
*/
|
|
9
9
|
export async function updatePetWithForm(petId: UpdatePetWithFormPathParams["petId"], params?: UpdatePetWithFormQueryParams, config: Partial<RequestConfig> = {}) {
|
|
10
10
|
const res = await client<UpdatePetWithFormMutationResponse, UpdatePetWithForm405, unknown>({ method: "POST", url: `/pet/${petId}`, params, ...config });
|