openapi: 3.1.0
info:
  title: Newdittyswag API
  version: platform-contract-v1
  description: Public read-only fallback contract. Site-native APIs may provide additional operations.
servers:
  - url: https://newdittyswag.platphormnews.com
paths:
  /api/health:
    get:
      responses:
        '200':
          description: Honest service health
  /api/v1/health:
    get:
      responses:
        '200':
          description: Versioned service health
  /api/docs:
    get:
      responses:
        '200':
          description: API documentation metadata
  /api/mcp:
    get:
      responses:
        '200':
          description: MCP transport metadata
    post:
      responses:
        '200':
          description: JSON-RPC response
components:
  securitySchemes:
    PlatPhormApiKey:
      type: http
      scheme: bearer
      description: PLATPHORM_API_KEY for protected actions
