@kubb/plugin-client
Version:
API client generator plugin for Kubb, creating type-safe HTTP clients (Axios, Fetch) from OpenAPI specifications for making API requests.
88 lines (86 loc) • 1.52 kB
text/typescript
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
export const operations = {
updatePet: {
path: '/pet',
method: 'put',
},
addPet: {
path: '/pet',
method: 'post',
},
findPetsByStatus: {
path: '/pet/findByStatus',
method: 'get',
},
findPetsByTags: {
path: '/pet/findByTags',
method: 'get',
},
getPetById: {
path: '/pet/:petId',
method: 'get',
},
updatePetWithForm: {
path: '/pet/:petId',
method: 'post',
},
deletePet: {
path: '/pet/:petId',
method: 'delete',
},
uploadFile: {
path: '/pet/:petId/uploadImage',
method: 'post',
},
getInventory: {
path: '/store/inventory',
method: 'get',
},
placeOrder: {
path: '/store/order',
method: 'post',
},
placeOrderPatch: {
path: '/store/order',
method: 'patch',
},
getOrderById: {
path: '/store/order/:orderId',
method: 'get',
},
deleteOrder: {
path: '/store/order/:orderId',
method: 'delete',
},
createUser: {
path: '/user',
method: 'post',
},
createUsersWithListInput: {
path: '/user/createWithList',
method: 'post',
},
loginUser: {
path: '/user/login',
method: 'get',
},
logoutUser: {
path: '/user/logout',
method: 'get',
},
getUserByName: {
path: '/user/:username',
method: 'get',
},
updateUser: {
path: '/user/:username',
method: 'put',
},
deleteUser: {
path: '/user/:username',
method: 'delete',
},
} as const