naftiko: 1.0.0-alpha2 info: label: openshift-rest-api — Projects description: 'openshift-rest-api — Projects. 4 operations. Lead operation: Openshift List Projects. Self-contained Naftiko capability covering one Openshift business surface.' tags: - Openshift - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OPENSHIFT_API_KEY: OPENSHIFT_API_KEY capability: consumes: - type: http namespace: rest-projects baseUri: https://api.openshift.com description: openshift-rest-api — Projects business capability. Self-contained, no shared references. resources: - name: apis-project.openshift.io-v1-projects path: /apis/project.openshift.io/v1/projects operations: - name: listproject method: GET description: Openshift List Projects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: apis-project.openshift.io-v1-projects-name path: /apis/project.openshift.io/v1/projects/{name} operations: - name: readproject method: GET description: Openshift Read a Project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: replaceproject method: PUT description: Openshift Replace a Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteproject method: DELETE description: Openshift Delete a Project outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.OPENSHIFT_API_KEY}}' exposes: - type: rest namespace: rest-projects-rest port: 8080 description: REST adapter for openshift-rest-api — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/apis/project-openshift-io/v1/projects name: apis-project-openshift-io-v1-projects description: REST surface for apis-project.openshift.io-v1-projects. operations: - method: GET name: listproject description: Openshift List Projects call: rest-projects.listproject outputParameters: - type: object mapping: $. - path: /v1/apis/project-openshift-io/v1/projects/{name} name: apis-project-openshift-io-v1-projects-name description: REST surface for apis-project.openshift.io-v1-projects-name. operations: - method: GET name: readproject description: Openshift Read a Project call: rest-projects.readproject outputParameters: - type: object mapping: $. - method: PUT name: replaceproject description: Openshift Replace a Project call: rest-projects.replaceproject with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteproject description: Openshift Delete a Project call: rest-projects.deleteproject outputParameters: - type: object mapping: $. - type: mcp namespace: rest-projects-mcp port: 9090 transport: http description: MCP adapter for openshift-rest-api — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: openshift-list-projects description: Openshift List Projects hints: readOnly: true destructive: false idempotent: true call: rest-projects.listproject outputParameters: - type: object mapping: $. - name: openshift-read-project description: Openshift Read a Project hints: readOnly: true destructive: false idempotent: true call: rest-projects.readproject outputParameters: - type: object mapping: $. - name: openshift-replace-project description: Openshift Replace a Project hints: readOnly: false destructive: false idempotent: true call: rest-projects.replaceproject with: body: tools.body outputParameters: - type: object mapping: $. - name: openshift-delete-project description: Openshift Delete a Project hints: readOnly: false destructive: true idempotent: true call: rest-projects.deleteproject outputParameters: - type: object mapping: $.