naftiko: 1.0.0-alpha2 info: label: Airflow API — Login description: 'Airflow API — Login. 2 operations. Lead operation: Airflow Login. Self-contained Naftiko capability covering one Airflow business surface.' tags: - Airflow - Login created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AIRFLOW_API_KEY: AIRFLOW_API_KEY capability: consumes: - type: http namespace: airflow-login baseUri: '' description: Airflow API — Login business capability. Self-contained, no shared references. resources: - name: api-v2-auth-login path: /api/v2/auth/login operations: - name: login method: GET description: Airflow Login outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: next in: query type: string - name: api-v2-auth-logout path: /api/v2/auth/logout operations: - name: logout method: GET description: Airflow Logout outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.AIRFLOW_API_KEY}}' exposes: - type: rest namespace: airflow-login-rest port: 8080 description: REST adapter for Airflow API — Login. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/auth/login name: api-v2-auth-login description: REST surface for api-v2-auth-login. operations: - method: GET name: login description: Airflow Login call: airflow-login.login with: next: rest.next outputParameters: - type: object mapping: $. - path: /v1/api/v2/auth/logout name: api-v2-auth-logout description: REST surface for api-v2-auth-logout. operations: - method: GET name: logout description: Airflow Logout call: airflow-login.logout outputParameters: - type: object mapping: $. - type: mcp namespace: airflow-login-mcp port: 9090 transport: http description: MCP adapter for Airflow API — Login. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: airflow-login description: Airflow Login hints: readOnly: true destructive: false idempotent: true call: airflow-login.login with: next: tools.next outputParameters: - type: object mapping: $. - name: airflow-logout description: Airflow Logout hints: readOnly: true destructive: false idempotent: true call: airflow-login.logout outputParameters: - type: object mapping: $.