naftiko: 1.0.0-alpha2 info: label: API-Fiddle API Fiddle API — Specifications description: 'API-Fiddle API Fiddle API — Specifications. 5 operations. Lead operation: API-Fiddle List specifications. Self-contained Naftiko capability covering one Api Fiddle business surface.' tags: - Api Fiddle - Specifications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: API_FIDDLE_API_KEY: API_FIDDLE_API_KEY capability: consumes: - type: http namespace: api-fiddle-specifications baseUri: https://api.api-fiddle.com/v1 description: API-Fiddle API Fiddle API — Specifications business capability. Self-contained, no shared references. resources: - name: projects-projectId-specifications path: /projects/{projectId}/specifications operations: - name: listspecifications method: GET description: API-Fiddle List specifications outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createspecification method: POST description: API-Fiddle Create a specification outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-specifications-specificationId path: /projects/{projectId}/specifications/{specificationId} operations: - name: getspecification method: GET description: API-Fiddle Get a specification outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatespecification method: PUT description: API-Fiddle Update a specification outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletespecification method: DELETE description: API-Fiddle Delete a specification outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.API_FIDDLE_API_KEY}}' exposes: - type: rest namespace: api-fiddle-specifications-rest port: 8080 description: REST adapter for API-Fiddle API Fiddle API — Specifications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/specifications name: projects-projectid-specifications description: REST surface for projects-projectId-specifications. operations: - method: GET name: listspecifications description: API-Fiddle List specifications call: api-fiddle-specifications.listspecifications outputParameters: - type: object mapping: $. - method: POST name: createspecification description: API-Fiddle Create a specification call: api-fiddle-specifications.createspecification with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/specifications/{specificationid} name: projects-projectid-specifications-specificationid description: REST surface for projects-projectId-specifications-specificationId. operations: - method: GET name: getspecification description: API-Fiddle Get a specification call: api-fiddle-specifications.getspecification outputParameters: - type: object mapping: $. - method: PUT name: updatespecification description: API-Fiddle Update a specification call: api-fiddle-specifications.updatespecification with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletespecification description: API-Fiddle Delete a specification call: api-fiddle-specifications.deletespecification outputParameters: - type: object mapping: $. - type: mcp namespace: api-fiddle-specifications-mcp port: 9090 transport: http description: MCP adapter for API-Fiddle API Fiddle API — Specifications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: api-fiddle-list-specifications description: API-Fiddle List specifications hints: readOnly: true destructive: false idempotent: true call: api-fiddle-specifications.listspecifications outputParameters: - type: object mapping: $. - name: api-fiddle-create-specification description: API-Fiddle Create a specification hints: readOnly: false destructive: false idempotent: false call: api-fiddle-specifications.createspecification with: body: tools.body outputParameters: - type: object mapping: $. - name: api-fiddle-get-specification description: API-Fiddle Get a specification hints: readOnly: true destructive: false idempotent: true call: api-fiddle-specifications.getspecification outputParameters: - type: object mapping: $. - name: api-fiddle-update-specification description: API-Fiddle Update a specification hints: readOnly: false destructive: false idempotent: true call: api-fiddle-specifications.updatespecification with: body: tools.body outputParameters: - type: object mapping: $. - name: api-fiddle-delete-specification description: API-Fiddle Delete a specification hints: readOnly: false destructive: true idempotent: true call: api-fiddle-specifications.deletespecification outputParameters: - type: object mapping: $.