Get user by user name

Request
path Parameters
username
required
string

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

Responses
200

successful operation

400

Invalid username supplied

404

User not found

get/user/{username}
Request samples
curl -i -X GET \
  'https://petstore.swagger.io/v2/user/{username}'
Response samples
No sample