naftiko: 1.0.0-alpha2 info: label: CodeProject.AI Server API — Vision-ALPR description: 'CodeProject.AI Server API — Vision-ALPR. 2 operations. Lead operation: Legacy ALPR route (deprecated alias of /v1/vision/alpr). Self-contained Naftiko capability covering one Codeproject business surface.' tags: - Codeproject - Vision-ALPR created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CODEPROJECT_API_KEY: CODEPROJECT_API_KEY capability: consumes: - type: http namespace: ai-server-vision-alpr baseUri: http://localhost:32168 description: CodeProject.AI Server API — Vision-ALPR business capability. Self-contained, no shared references. resources: - name: v1-image-alpr path: /v1/image/alpr operations: - name: readlicenseplatelegacy method: POST description: Legacy ALPR route (deprecated alias of /v1/vision/alpr) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-vision-alpr path: /v1/vision/alpr operations: - name: readlicenseplate method: POST description: Detect and read license plates outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-Disabled value: '{{env.CODEPROJECT_API_KEY}}' placement: header exposes: - type: rest namespace: ai-server-vision-alpr-rest port: 8080 description: REST adapter for CodeProject.AI Server API — Vision-ALPR. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/image/alpr name: v1-image-alpr description: REST surface for v1-image-alpr. operations: - method: POST name: readlicenseplatelegacy description: Legacy ALPR route (deprecated alias of /v1/vision/alpr) call: ai-server-vision-alpr.readlicenseplatelegacy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/vision/alpr name: v1-vision-alpr description: REST surface for v1-vision-alpr. operations: - method: POST name: readlicenseplate description: Detect and read license plates call: ai-server-vision-alpr.readlicenseplate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ai-server-vision-alpr-mcp port: 9090 transport: http description: MCP adapter for CodeProject.AI Server API — Vision-ALPR. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: legacy-alpr-route-deprecated-alias description: Legacy ALPR route (deprecated alias of /v1/vision/alpr) hints: readOnly: false destructive: false idempotent: false call: ai-server-vision-alpr.readlicenseplatelegacy with: body: tools.body outputParameters: - type: object mapping: $. - name: detect-and-read-license-plates description: Detect and read license plates hints: readOnly: false destructive: false idempotent: false call: ai-server-vision-alpr.readlicenseplate with: body: tools.body outputParameters: - type: object mapping: $.