Car API (carapi.app) · Capability

Car API — Auth

Car API — Auth. 1 operations. Lead operation: Car API JWT Login. Self-contained Naftiko capability covering one Car Api business surface.

Run with Naftiko Car ApiAuth

What You Can Do

POST
Authapipost — Car API JWT Login
/v1/api/auth/login

MCP Tools

car-api-jwt-login

Car API JWT Login

Capability Spec

car-auth.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Car API — Auth
  description: 'Car API — Auth. 1 operations. Lead operation: Car API JWT Login. Self-contained Naftiko capability covering
    one Car Api business surface.'
  tags:
  - Car Api
  - Auth
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CAR_API_API_KEY: CAR_API_API_KEY
capability:
  consumes:
  - type: http
    namespace: car-auth
    baseUri: https://carapi.app
    description: Car API — Auth business capability. Self-contained, no shared references.
    resources:
    - name: api-auth-login
      path: /api/auth/login
      operations:
      - name: authapipost
        method: POST
        description: Car API JWT Login
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.CAR_API_API_KEY}}'
  exposes:
  - type: rest
    namespace: car-auth-rest
    port: 8080
    description: REST adapter for Car API — Auth. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/auth/login
      name: api-auth-login
      description: REST surface for api-auth-login.
      operations:
      - method: POST
        name: authapipost
        description: Car API JWT Login
        call: car-auth.authapipost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: car-auth-mcp
    port: 9090
    transport: http
    description: MCP adapter for Car API — Auth. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: car-api-jwt-login
      description: Car API JWT Login
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: car-auth.authapipost
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.