naftiko: 1.0.0-alpha2 info: label: Airflow API (Stable) — Connection description: 'Airflow API (Stable) — Connection. 6 operations. Lead operation: Apache Airflow List Connections. Self-contained Naftiko capability covering one Apache Airflow business surface.' tags: - Apache Airflow - Connection created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APACHE_AIRFLOW_API_KEY: APACHE_AIRFLOW_API_KEY capability: consumes: - type: http namespace: apache-airflow-connection baseUri: '' description: Airflow API (Stable) — Connection business capability. Self-contained, no shared references. resources: - name: connections path: /connections operations: - name: getconnections method: GET description: Apache Airflow List Connections outputRawFormat: json outputParameters: - name: result type: object value: $. - name: postconnection method: POST description: Apache Airflow Create a Connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: connections-test path: /connections/test operations: - name: testconnection method: POST description: Apache Airflow Test a Connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: connections-connection_id path: /connections/{connection_id} operations: - name: deleteconnection method: DELETE description: Apache Airflow Delete a Connection outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getconnection method: GET description: Apache Airflow Get a Connection outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patchconnection method: PATCH description: Apache Airflow Update a Connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.APACHE_AIRFLOW_USER}}' password: '{{env.APACHE_AIRFLOW_PASS}}' exposes: - type: rest namespace: apache-airflow-connection-rest port: 8080 description: REST adapter for Airflow API (Stable) — Connection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/connections name: connections description: REST surface for connections. operations: - method: GET name: getconnections description: Apache Airflow List Connections call: apache-airflow-connection.getconnections outputParameters: - type: object mapping: $. - method: POST name: postconnection description: Apache Airflow Create a Connection call: apache-airflow-connection.postconnection with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/connections/test name: connections-test description: REST surface for connections-test. operations: - method: POST name: testconnection description: Apache Airflow Test a Connection call: apache-airflow-connection.testconnection with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/connections/{connection-id} name: connections-connection-id description: REST surface for connections-connection_id. operations: - method: DELETE name: deleteconnection description: Apache Airflow Delete a Connection call: apache-airflow-connection.deleteconnection outputParameters: - type: object mapping: $. - method: GET name: getconnection description: Apache Airflow Get a Connection call: apache-airflow-connection.getconnection outputParameters: - type: object mapping: $. - method: PATCH name: patchconnection description: Apache Airflow Update a Connection call: apache-airflow-connection.patchconnection with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: apache-airflow-connection-mcp port: 9090 transport: http description: MCP adapter for Airflow API (Stable) — Connection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apache-airflow-list-connections description: Apache Airflow List Connections hints: readOnly: true destructive: false idempotent: true call: apache-airflow-connection.getconnections outputParameters: - type: object mapping: $. - name: apache-airflow-create-connection description: Apache Airflow Create a Connection hints: readOnly: false destructive: false idempotent: false call: apache-airflow-connection.postconnection with: body: tools.body outputParameters: - type: object mapping: $. - name: apache-airflow-test-connection description: Apache Airflow Test a Connection hints: readOnly: true destructive: false idempotent: false call: apache-airflow-connection.testconnection with: body: tools.body outputParameters: - type: object mapping: $. - name: apache-airflow-delete-connection description: Apache Airflow Delete a Connection hints: readOnly: false destructive: true idempotent: true call: apache-airflow-connection.deleteconnection outputParameters: - type: object mapping: $. - name: apache-airflow-get-connection description: Apache Airflow Get a Connection hints: readOnly: true destructive: false idempotent: true call: apache-airflow-connection.getconnection outputParameters: - type: object mapping: $. - name: apache-airflow-update-connection description: Apache Airflow Update a Connection hints: readOnly: false destructive: false idempotent: true call: apache-airflow-connection.patchconnection with: body: tools.body outputParameters: - type: object mapping: $.