Thanx · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Thanx Consumer Cards API

4 actions 4 updates phrasing extends openapi/thanx-cards-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Thanx's API. It is a proposal applied on top of the contract, not a document Thanx publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/cards'].get
$.paths['/cards'].post
$.paths['/cards/{id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Thanx Consumer Cards API
  version: 1.0.0
extends: openapi/thanx-cards-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/cards'].get
  update:
    x-apievangelist-phrasing:
      intent: List my registered payment cards
      effect: read
      questions:
      - Which payment cards are linked to my loyalty account?
      - Can I see the cards I've registered for card-linked rewards?
      instructions:
      - text: List my registered cards.
      - text: Show the payment cards linked to my account.
      method: generated
      generated: '2026-09-26'
- target: $.paths['/cards'].post
  update:
    x-apievangelist-phrasing:
      intent: Register a payment card for card-linked loyalty
      effect: write
      questions:
      - How do I link a credit card so purchases earn loyalty automatically?
      - Can I add a new payment card to my Thanx account?
      instructions:
      - text: Register card {card} for card-linked loyalty.
        slots:
          card: requestBody.card
      - text: 'Link this new payment card to my account: {card}.'
        slots:
          card: requestBody.card
      method: generated
      generated: '2026-09-26'
- target: $.paths['/cards/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a registered card
      effect: destructive
      questions:
      - How do I unlink a card I no longer use from my loyalty account?
      - What happens to a card when I remove it — is it archived?
      instructions:
      - text: Remove card {id} from my account.
        slots:
          id: path.id
      - text: Archive registered card {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-09-26'