@kubb/plugin-cypress
Version:
Cypress test generator plugin for Kubb, creating end-to-end tests from OpenAPI specifications for automated API testing.
16 lines (14 loc) • 396 B
text/typescript
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
export function listPets(params?: ListPetsQueryParams, options: Partial<Cypress.RequestOptions> = {}): Cypress.Chainable<ListPetsQueryResponse> {
return cy
.request<ListPetsQueryResponse>({
method: 'get',
url: `${123456}/pets`,
qs: params,
...options,
})
.then((res) => res.body)
}