naftiko: 1.0.0-alpha2 info: label: OpenProject API V3 (Stable) — UserPreferences description: 'OpenProject API V3 (Stable) — UserPreferences. 2 operations. Lead operation: Show my preferences. Self-contained Naftiko capability covering one Openproject business surface.' tags: - Openproject - UserPreferences created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OPENPROJECT_API_KEY: OPENPROJECT_API_KEY capability: consumes: - type: http namespace: openproject-userpreferences baseUri: https://qa.openproject-edge.com description: OpenProject API V3 (Stable) — UserPreferences business capability. Self-contained, no shared references. resources: - name: api-v3-my_preferences path: /api/v3/my_preferences operations: - name: showmypreferences method: GET description: Show my preferences outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateuserpreferences method: PATCH description: Update my preferences outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: basic username: '{{env.OPENPROJECT_USER}}' password: '{{env.OPENPROJECT_PASS}}' exposes: - type: rest namespace: openproject-userpreferences-rest port: 8080 description: REST adapter for OpenProject API V3 (Stable) — UserPreferences. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v3/my-preferences name: api-v3-my-preferences description: REST surface for api-v3-my_preferences. operations: - method: GET name: showmypreferences description: Show my preferences call: openproject-userpreferences.showmypreferences outputParameters: - type: object mapping: $. - method: PATCH name: updateuserpreferences description: Update my preferences call: openproject-userpreferences.updateuserpreferences with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: openproject-userpreferences-mcp port: 9090 transport: http description: MCP adapter for OpenProject API V3 (Stable) — UserPreferences. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: show-my-preferences description: Show my preferences hints: readOnly: true destructive: false idempotent: true call: openproject-userpreferences.showmypreferences outputParameters: - type: object mapping: $. - name: update-my-preferences description: Update my preferences hints: readOnly: false destructive: false idempotent: true call: openproject-userpreferences.updateuserpreferences with: body: tools.body outputParameters: - type: object mapping: $.