naftiko: 1.0.0-alpha2 info: label: openshift-rest-api — BuildConfigs description: 'openshift-rest-api — BuildConfigs. 7 operations. Lead operation: Openshift List Build Configs Across All Namespaces. Self-contained Naftiko capability covering one Openshift business surface.' tags: - Openshift - BuildConfigs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OPENSHIFT_API_KEY: OPENSHIFT_API_KEY capability: consumes: - type: http namespace: rest-buildconfigs baseUri: https://api.openshift.com description: openshift-rest-api — BuildConfigs business capability. Self-contained, no shared references. resources: - name: apis-build.openshift.io-v1-buildconfigs path: /apis/build.openshift.io/v1/buildconfigs operations: - name: listbuildconfigforallnamespaces method: GET description: Openshift List Build Configs Across All Namespaces outputRawFormat: json outputParameters: - name: result type: object value: $. - name: apis-build.openshift.io-v1-namespaces-namespace-buildconfigs path: /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs operations: - name: listnamespacedbuildconfig method: GET description: Openshift List Build Configs in a Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnamespacedbuildconfig method: POST description: Openshift Create a Build Config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: apis-build.openshift.io-v1-namespaces-namespace-buildconfigs-name path: /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} operations: - name: readnamespacedbuildconfig method: GET description: Openshift Read a Build Config outputRawFormat: json outputParameters: - name: result type: object value: $. - name: replacenamespacedbuildconfig method: PUT description: Openshift Replace a Build Config outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletenamespacedbuildconfig method: DELETE description: Openshift Delete a Build Config outputRawFormat: json outputParameters: - name: result type: object value: $. - name: apis-build.openshift.io-v1-namespaces-namespace-buildconfigs-name-instantiate path: /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiate operations: - name: createnamespacedbuildconfiginstantiate method: POST description: Openshift Instantiate a Build From a Build Config 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.OPENSHIFT_API_KEY}}' exposes: - type: rest namespace: rest-buildconfigs-rest port: 8080 description: REST adapter for openshift-rest-api — BuildConfigs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/apis/build-openshift-io/v1/buildconfigs name: apis-build-openshift-io-v1-buildconfigs description: REST surface for apis-build.openshift.io-v1-buildconfigs. operations: - method: GET name: listbuildconfigforallnamespaces description: Openshift List Build Configs Across All Namespaces call: rest-buildconfigs.listbuildconfigforallnamespaces outputParameters: - type: object mapping: $. - path: /v1/apis/build-openshift-io/v1/namespaces/{namespace}/buildconfigs name: apis-build-openshift-io-v1-namespaces-namespace-buildconfigs description: REST surface for apis-build.openshift.io-v1-namespaces-namespace-buildconfigs. operations: - method: GET name: listnamespacedbuildconfig description: Openshift List Build Configs in a Namespace call: rest-buildconfigs.listnamespacedbuildconfig outputParameters: - type: object mapping: $. - method: POST name: createnamespacedbuildconfig description: Openshift Create a Build Config call: rest-buildconfigs.createnamespacedbuildconfig with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/apis/build-openshift-io/v1/namespaces/{namespace}/buildconfigs/{name} name: apis-build-openshift-io-v1-namespaces-namespace-buildconfigs-name description: REST surface for apis-build.openshift.io-v1-namespaces-namespace-buildconfigs-name. operations: - method: GET name: readnamespacedbuildconfig description: Openshift Read a Build Config call: rest-buildconfigs.readnamespacedbuildconfig outputParameters: - type: object mapping: $. - method: PUT name: replacenamespacedbuildconfig description: Openshift Replace a Build Config call: rest-buildconfigs.replacenamespacedbuildconfig with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletenamespacedbuildconfig description: Openshift Delete a Build Config call: rest-buildconfigs.deletenamespacedbuildconfig outputParameters: - type: object mapping: $. - path: /v1/apis/build-openshift-io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiate name: apis-build-openshift-io-v1-namespaces-namespace-buildconfigs-name-instantiate description: REST surface for apis-build.openshift.io-v1-namespaces-namespace-buildconfigs-name-instantiate. operations: - method: POST name: createnamespacedbuildconfiginstantiate description: Openshift Instantiate a Build From a Build Config call: rest-buildconfigs.createnamespacedbuildconfiginstantiate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-buildconfigs-mcp port: 9090 transport: http description: MCP adapter for openshift-rest-api — BuildConfigs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: openshift-list-build-configs-across description: Openshift List Build Configs Across All Namespaces hints: readOnly: true destructive: false idempotent: true call: rest-buildconfigs.listbuildconfigforallnamespaces outputParameters: - type: object mapping: $. - name: openshift-list-build-configs-namespace description: Openshift List Build Configs in a Namespace hints: readOnly: true destructive: false idempotent: true call: rest-buildconfigs.listnamespacedbuildconfig outputParameters: - type: object mapping: $. - name: openshift-create-build-config description: Openshift Create a Build Config hints: readOnly: false destructive: false idempotent: false call: rest-buildconfigs.createnamespacedbuildconfig with: body: tools.body outputParameters: - type: object mapping: $. - name: openshift-read-build-config description: Openshift Read a Build Config hints: readOnly: true destructive: false idempotent: true call: rest-buildconfigs.readnamespacedbuildconfig outputParameters: - type: object mapping: $. - name: openshift-replace-build-config description: Openshift Replace a Build Config hints: readOnly: false destructive: false idempotent: true call: rest-buildconfigs.replacenamespacedbuildconfig with: body: tools.body outputParameters: - type: object mapping: $. - name: openshift-delete-build-config description: Openshift Delete a Build Config hints: readOnly: false destructive: true idempotent: true call: rest-buildconfigs.deletenamespacedbuildconfig outputParameters: - type: object mapping: $. - name: openshift-instantiate-build-build-config description: Openshift Instantiate a Build From a Build Config hints: readOnly: false destructive: false idempotent: false call: rest-buildconfigs.createnamespacedbuildconfiginstantiate with: body: tools.body outputParameters: - type: object mapping: $.