naftiko: 1.0.0-alpha2 info: label: Ocelot Administration API — Authentication description: 'Ocelot Administration API — Authentication. 1 operations. Lead operation: Issue an admin access token. Self-contained Naftiko capability covering one Ocelot business surface.' tags: - Ocelot - Authentication created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OCELOT_API_KEY: OCELOT_API_KEY capability: consumes: - type: http namespace: administration-authentication baseUri: http://localhost:5000 description: Ocelot Administration API — Authentication business capability. Self-contained, no shared references. resources: - name: administration-connect-token path: /administration/connect/token operations: - name: issueadmintoken method: POST description: Issue an admin access token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.OCELOT_API_KEY}}' exposes: - type: rest namespace: administration-authentication-rest port: 8080 description: REST adapter for Ocelot Administration API — Authentication. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/administration/connect/token name: administration-connect-token description: REST surface for administration-connect-token. operations: - method: POST name: issueadmintoken description: Issue an admin access token call: administration-authentication.issueadmintoken with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: administration-authentication-mcp port: 9090 transport: http description: MCP adapter for Ocelot Administration API — Authentication. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: issue-admin-access-token description: Issue an admin access token hints: readOnly: false destructive: false idempotent: false call: administration-authentication.issueadmintoken with: body: tools.body outputParameters: - type: object mapping: $.