FakerAPI · Capability

FakerAPI — Products

Products — Products. 1 operation. Lead operation: List Fake Products. Self-contained Naftiko capability covering one FakerAPI business surface for fake product records with nested images.

Run with Naftiko FakerAPITest DataProducts

What You Can Do

GET
Listproducts — Return a collection of fake product records.
/v1/products

MCP Tools

list-fake-products

Return a collection of fake product records.

read-only idempotent

Capability Spec

fakerapi-products.yaml Raw ↑
naftiko: "1.0.0-alpha2"

info:
  label: "FakerAPI — Products"
  description: >-
    Products — Products. 1 operation. Lead operation: List Fake Products.
    Self-contained Naftiko capability covering one FakerAPI business surface
    for fake product records with nested images.
  tags:
    - FakerAPI
    - Test Data
    - Products
  created: "2026-05-30"
  modified: "2026-05-30"

binds: []

capability:

  consumes:
    - type: http
      namespace: "fakerapi-products"
      baseUri: "https://fakerapi.it/api/v1"
      description: "FakerAPI — Products business capability. No authentication required."
      resources:
        - name: "products"
          path: "/products"
          operations:
            - name: "listProducts"
              method: GET
              description: "Return a collection of fake product records with nested image references."
              inputParameters:
                - name: "_quantity"
                  in: query
                  type: integer
                  required: false
                  description: "Number of records (1-1000, default 10)."
                - name: "_locale"
                  in: query
                  type: string
                  required: false
                  description: "Locale code."
                - name: "_seed"
                  in: query
                  type: integer
                  required: false
                  description: "Integer seed."
                - name: "_categories_number"
                  in: query
                  type: integer
                  required: false
                  description: "Number of fake categories per product."
                - name: "_taxes"
                  in: query
                  type: integer
                  required: false
                  description: "Tax percentage applied to product price."
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."

  exposes:
    - type: rest
      namespace: "fakerapi-products-rest"
      port: 8080
      description: "REST adapter for FakerAPI — Products."
      resources:
        - path: "/v1/products"
          name: "products"
          description: "REST surface for fake products."
          operations:
            - method: GET
              name: "listProducts"
              description: "Return a collection of fake product records."
              call: "fakerapi-products.listProducts"
              with:
                "_quantity": "rest._quantity"
                "_locale": "rest._locale"
                "_seed": "rest._seed"
                "_categories_number": "rest._categories_number"
                "_taxes": "rest._taxes"
              outputParameters:
                - type: object
                  mapping: "$."

    - type: mcp
      namespace: "fakerapi-products-mcp"
      port: 9090
      transport: http
      description: "MCP adapter for FakerAPI — Products."
      tools:
        - name: "list-fake-products"
          description: "Return a collection of fake product records."
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "fakerapi-products.listProducts"
          with:
            "_quantity": "tools._quantity"
            "_locale": "tools._locale"
            "_seed": "tools._seed"
            "_categories_number": "tools._categories_number"
            "_taxes": "tools._taxes"
          outputParameters:
            - type: object
              mapping: "$."