# Finds Pets by status

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /pet/findByStatus:
    get:
      summary: Finds Pets by status
      deprecated: false
      description: ''
      tags:
        - 'REST API Documentations/Example: Pet Store'
        - pet
      parameters:
        - name: status
          in: query
          description: Status values that need to be considered for filter
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Pet'
              example:
                code: 0
                data:
                  - name: Hello Kitty
                    photoUrls:
                      - http://dummyimage.com/400x400
                    id: 3
                    category:
                      id: 71
                      name: Cat
                    tags:
                      - id: 22
                        name: Cat
                    status: sold
                  - name: White Dog
                    photoUrls:
                      - http://dummyimage.com/400x400
                    id: 3
                    category:
                      id: 71
                      name: Dog
                    tags:
                      - id: 22
                        name: Dog
                    status: sold
          headers: {}
          x-apidog-name: OK
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    x-apidog-mock: '400'
                required:
                  - code
                x-apidog-orders:
                  - code
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Invalid status value
      security: []
      x-apidog-folder: 'REST API Documentations/Example: Pet Store'
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/849209/apis/api-15105222-run
components:
  schemas:
    Pet:
      required:
        - id
        - category
        - name
        - photoUrls
        - tags
        - status
      type: object
      properties:
        id:
          type: integer
          format: int64
          minimum: 1
          description: Pet ID
        category:
          $ref: '#/components/schemas/Category'
          description: group
        name:
          type: string
          description: name
          examples:
            - doggie
        photoUrls:
          type: array
          items:
            type: string
          description: image URL
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: tag
        status:
          type: string
          description: Pet Sales Status
          enum:
            - available
            - pending
            - sold
      x-apidog-orders:
        - id
        - category
        - name
        - photoUrls
        - tags
        - status
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Tag:
      type: object
      properties:
        id:
          type: integer
          format: int64
          minimum: 1
          description: Tag ID
        name:
          type: string
          description: Tag Name
      x-apidog-orders:
        - id
        - name
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Category:
      type: object
      properties:
        id:
          type: integer
          format: int64
          minimum: 1
          description: Category ID
        name:
          type: string
          description: Category Name
      x-apidog-orders:
        - id
        - name
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers: []
security: []

```
