naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — API Specification description: 'Konnect API - Go SDK — API Specification. 6 operations. Lead operation: Validate API Specification. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - API Specification created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KONG_API_KEY: KONG_API_KEY capability: consumes: - type: http namespace: konnect-platform-api-specification baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — API Specification business capability. Self-contained, no shared references. resources: - name: v3-apis-validate-specification path: /v3/apis/validate-specification operations: - name: validatespecification method: POST description: Validate API Specification outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v3-apis-apiId-specifications path: /v3/apis/{apiId}/specifications operations: - name: createapispec method: POST description: Create API Specification outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listapispecs method: GET description: List API Specifications outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-apis-apiId-specifications-specId path: /v3/apis/{apiId}/specifications/{specId} operations: - name: fetchapispec method: GET description: Get API Specification outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateapispec method: PATCH description: Update API Specification outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deleteapispec method: DELETE description: Delete API Specification outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-api-specification-rest port: 8080 description: REST adapter for Konnect API - Go SDK — API Specification. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/apis/validate-specification name: v3-apis-validate-specification description: REST surface for v3-apis-validate-specification. operations: - method: POST name: validatespecification description: Validate API Specification call: konnect-platform-api-specification.validatespecification with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v3/apis/{apiid}/specifications name: v3-apis-apiid-specifications description: REST surface for v3-apis-apiId-specifications. operations: - method: POST name: createapispec description: Create API Specification call: konnect-platform-api-specification.createapispec with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listapispecs description: List API Specifications call: konnect-platform-api-specification.listapispecs outputParameters: - type: object mapping: $. - path: /v1/v3/apis/{apiid}/specifications/{specid} name: v3-apis-apiid-specifications-specid description: REST surface for v3-apis-apiId-specifications-specId. operations: - method: GET name: fetchapispec description: Get API Specification call: konnect-platform-api-specification.fetchapispec outputParameters: - type: object mapping: $. - method: PATCH name: updateapispec description: Update API Specification call: konnect-platform-api-specification.updateapispec with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteapispec description: Delete API Specification call: konnect-platform-api-specification.deleteapispec outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-api-specification-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — API Specification. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: validate-api-specification description: Validate API Specification hints: readOnly: true destructive: false idempotent: false call: konnect-platform-api-specification.validatespecification with: body: tools.body outputParameters: - type: object mapping: $. - name: create-api-specification description: Create API Specification hints: readOnly: false destructive: false idempotent: false call: konnect-platform-api-specification.createapispec with: body: tools.body outputParameters: - type: object mapping: $. - name: list-api-specifications description: List API Specifications hints: readOnly: true destructive: false idempotent: true call: konnect-platform-api-specification.listapispecs outputParameters: - type: object mapping: $. - name: get-api-specification description: Get API Specification hints: readOnly: true destructive: false idempotent: true call: konnect-platform-api-specification.fetchapispec outputParameters: - type: object mapping: $. - name: update-api-specification description: Update API Specification hints: readOnly: false destructive: false idempotent: true call: konnect-platform-api-specification.updateapispec with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-api-specification description: Delete API Specification hints: readOnly: false destructive: true idempotent: true call: konnect-platform-api-specification.deleteapispec outputParameters: - type: object mapping: $.