openapi: 3.0.0
info:
  title: REST API
  version: 0.0.1
servers:
  - url: https://api.something.com/1
components:
  schemas:
    marketingOptIn:
      type: object
      properties:
        optedIn:
          type: boolean
          example: false
        date:
          type: string
          format: date
          example: '2018-04-26T17:03:25.155Z'
paths:
  /actions/:
    get:
      parameters:
        - name: due
          in: query
          description: A due date for the card
          required: false
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Success
