Architecture Pattern · Capability

Architecture Pattern API — Trade-offs

Architecture Pattern API — Trade-offs. 1 operations. Lead operation: List pattern trade-offs. Self-contained Naftiko capability covering one Architecture Pattern business surface.

Run with Naftiko Architecture PatternTrade-offs

What You Can Do

GET
Listtradeoffs — List pattern trade-offs
/v1/tradeoffs

MCP Tools

list-pattern-trade-offs

List pattern trade-offs

read-only idempotent

Capability Spec

architecture-pattern-trade-offs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Architecture Pattern API — Trade-offs
  description: 'Architecture Pattern API — Trade-offs. 1 operations. Lead operation: List pattern trade-offs. Self-contained
    Naftiko capability covering one Architecture Pattern business surface.'
  tags:
  - Architecture Pattern
  - Trade-offs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ARCHITECTURE_PATTERN_API_KEY: ARCHITECTURE_PATTERN_API_KEY
capability:
  consumes:
  - type: http
    namespace: architecture-pattern-trade-offs
    baseUri: https://api.apievangelist.com/v1/architecture-patterns
    description: Architecture Pattern API — Trade-offs business capability. Self-contained, no shared references.
    resources:
    - name: tradeoffs
      path: /tradeoffs
      operations:
      - name: listtradeoffs
        method: GET
        description: List pattern trade-offs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: patternId
          in: query
          type: string
          description: Filter trade-offs by pattern
  exposes:
  - type: rest
    namespace: architecture-pattern-trade-offs-rest
    port: 8080
    description: REST adapter for Architecture Pattern API — Trade-offs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/tradeoffs
      name: tradeoffs
      description: REST surface for tradeoffs.
      operations:
      - method: GET
        name: listtradeoffs
        description: List pattern trade-offs
        call: architecture-pattern-trade-offs.listtradeoffs
        with:
          patternId: rest.patternId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: architecture-pattern-trade-offs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Architecture Pattern API — Trade-offs. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-pattern-trade-offs
      description: List pattern trade-offs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: architecture-pattern-trade-offs.listtradeoffs
      with:
        patternId: tools.patternId
      outputParameters:
      - type: object
        mapping: $.