openapi: 3.0.1
info:
  title: Sample API
  version: 1.0.0
paths:
  /pets:
    post:
      summary: Add a new pet
      operationId: addPet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  format: string
                age:
                  type: integer
                  format: int32
              required:
                - name
