provider user GET /user/{username}
@utdk/petstore /user/{username}
Get user by user name.
Get user detail based on username.
username path required
The name that needs to be fetched. Use user1 for testing
string

Try it

Authentication
Configure credentials for Swagger Petstore - OpenAPI 3.0
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getuserbyname
GET/user/{username}
Get user detail based on username.

Parameters

required

The name that needs to be fetched. Use user1 for testing

Enter a gateway URL above to enable sending.

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

TypeScript

import petstore from '@utdk/petstore';

await petstore.getuserbyname()