FakerAPI · Capability

FakerAPI — Companies

Companies — Companies. 1 operation. Lead operation: List Fake Companies. Self-contained Naftiko capability covering one FakerAPI business surface for fake company records with nested addresses.

Run with Naftiko FakerAPITest DataCompanies

What You Can Do

GET
Listcompanies — Return a collection of fake company records.
/v1/companies

MCP Tools

list-fake-companies

Return a collection of fake company records.

read-only idempotent

Capability Spec

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

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

binds: []

capability:

  consumes:
    - type: http
      namespace: "fakerapi-companies"
      baseUri: "https://fakerapi.it/api/v1"
      description: "FakerAPI — Companies business capability. No authentication required."
      resources:
        - name: "companies"
          path: "/companies"
          operations:
            - name: "listCompanies"
              method: GET
              description: "Return a collection of fake company records including nested addresses."
              inputParameters:
                - name: "_quantity"
                  in: query
                  type: integer
                  required: false
                  description: "Number of records to return (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 for deterministic output."
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."

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

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