provider pet GET /pet/{petId}
@utdk/petstore /pet/{petId}
Find pet by ID.
Returns a single pet.
petId path required
ID of pet to return
integer

Try it

Authentication
Configure credentials for Swagger Petstore - OpenAPI 3.0
getpetbyid
GET/pet/{petId}
Returns a single pet.

Parameters

required

ID of pet to return

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import petstore from '@utdk/petstore';

await petstore.getpetbyid()