FakerAPI · Capability

FakerAPI — Persons

Persons — Persons. 1 operation. Lead operation: List Fake Persons. Self-contained Naftiko capability covering one FakerAPI business surface for fake person profiles with nested addresses.

Run with Naftiko FakerAPITest DataPersons

What You Can Do

GET
Listpersons — Return a collection of fake person profiles.
/v1/persons

MCP Tools

list-fake-persons

Return a collection of fake person profiles.

read-only idempotent

Capability Spec

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

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

binds: []

capability:

  consumes:
    - type: http
      namespace: "fakerapi-persons"
      baseUri: "https://fakerapi.it/api/v1"
      description: "FakerAPI — Persons business capability. No authentication required."
      resources:
        - name: "persons"
          path: "/persons"
          operations:
            - name: "listPersons"
              method: GET
              description: "Return a collection of fake person profiles with a nested address."
              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."
                - name: "_gender"
                  in: query
                  type: string
                  required: false
                  description: "Restrict to male or female."
                - name: "_birthday_start"
                  in: query
                  type: string
                  required: false
                  description: "Earliest birthday (YYYY-MM-DD)."
                - name: "_birthday_end"
                  in: query
                  type: string
                  required: false
                  description: "Latest birthday (YYYY-MM-DD)."
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."

  exposes:
    - type: rest
      namespace: "fakerapi-persons-rest"
      port: 8080
      description: "REST adapter for FakerAPI — Persons."
      resources:
        - path: "/v1/persons"
          name: "persons"
          description: "REST surface for fake persons."
          operations:
            - method: GET
              name: "listPersons"
              description: "Return a collection of fake person profiles."
              call: "fakerapi-persons.listPersons"
              with:
                "_quantity": "rest._quantity"
                "_locale": "rest._locale"
                "_seed": "rest._seed"
                "_gender": "rest._gender"
                "_birthday_start": "rest._birthday_start"
                "_birthday_end": "rest._birthday_end"
              outputParameters:
                - type: object
                  mapping: "$."

    - type: mcp
      namespace: "fakerapi-persons-mcp"
      port: 9090
      transport: http
      description: "MCP adapter for FakerAPI — Persons."
      tools:
        - name: "list-fake-persons"
          description: "Return a collection of fake person profiles."
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "fakerapi-persons.listPersons"
          with:
            "_quantity": "tools._quantity"
            "_locale": "tools._locale"
            "_seed": "tools._seed"
            "_gender": "tools._gender"
            "_birthday_start": "tools._birthday_start"
            "_birthday_end": "tools._birthday_end"
          outputParameters:
            - type: object
              mapping: "$."