openapi: 3.0.3
info:
  title: My-IP-Is API
  version: 1.0.0
  description: Public IP and headers API.
servers:
  - url: https://my-ip-is.com
paths:
  /api/ip:
    get:
      summary: Get caller IP details
      responses:
        '200':
          description: OK
  /api/ipv4:
    get:
      summary: Get caller IPv4 plain text
      responses:
        '200':
          description: OK
  /api/ipv6:
    get:
      summary: Get caller IPv6 plain text
      responses:
        '200':
          description: OK
  /api/headers:
    get:
      summary: Get request headers
      responses:
        '200':
          description: OK
