tags:
  - user
summary: Get user by user name
description: ""
operationId: getUserByName
produces:
  - application/json
  - application/xml
parameters:
  - in: path
    name: username
    description: The name that needs to be fetched. Use user1 for testing.
    required: true
    type: string
responses:
  "404":
    description: User not found
  "200":
    description: successful operation
    schema:
      $ref: "#/definitions/User"
  "400":
    description: Invalid username supplied
