naftiko: 1.0.0-alpha2 info: label: WegoWise API — Buildings description: 'WegoWise API — Buildings. 6 operations. Lead operation: List Buildings. Self-contained Naftiko capability covering one Wegowise business surface.' tags: - Wegowise - Buildings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WEGOWISE_API_KEY: WEGOWISE_API_KEY capability: consumes: - type: http namespace: wegowise-buildings baseUri: https://www.wegowise.com description: WegoWise API — Buildings business capability. Self-contained, no shared references. resources: - name: api-v1-wego_pro-buildings path: /api/v1/wego_pro/buildings operations: - name: listbuildings method: GET description: List Buildings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-wego_pro-buildings-id path: /api/v1/wego_pro/buildings/{id} operations: - name: getbuilding method: GET description: Get Building outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatebuilding method: PUT description: Update Building outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletebuilding method: DELETE description: Delete Building outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-wego_pro-developments-id-buildings path: /api/v1/wego_pro/developments/{id}/buildings operations: - name: listdevelopmentbuildings method: GET description: List Development Buildings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createbuilding method: POST description: Create Building outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: wegowise-buildings-rest port: 8080 description: REST adapter for WegoWise API — Buildings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/wego-pro/buildings name: api-v1-wego-pro-buildings description: REST surface for api-v1-wego_pro-buildings. operations: - method: GET name: listbuildings description: List Buildings call: wegowise-buildings.listbuildings outputParameters: - type: object mapping: $. - path: /v1/api/v1/wego-pro/buildings/{id} name: api-v1-wego-pro-buildings-id description: REST surface for api-v1-wego_pro-buildings-id. operations: - method: GET name: getbuilding description: Get Building call: wegowise-buildings.getbuilding outputParameters: - type: object mapping: $. - method: PUT name: updatebuilding description: Update Building call: wegowise-buildings.updatebuilding with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletebuilding description: Delete Building call: wegowise-buildings.deletebuilding outputParameters: - type: object mapping: $. - path: /v1/api/v1/wego-pro/developments/{id}/buildings name: api-v1-wego-pro-developments-id-buildings description: REST surface for api-v1-wego_pro-developments-id-buildings. operations: - method: GET name: listdevelopmentbuildings description: List Development Buildings call: wegowise-buildings.listdevelopmentbuildings outputParameters: - type: object mapping: $. - method: POST name: createbuilding description: Create Building call: wegowise-buildings.createbuilding with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: wegowise-buildings-mcp port: 9090 transport: http description: MCP adapter for WegoWise API — Buildings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-buildings description: List Buildings hints: readOnly: true destructive: false idempotent: true call: wegowise-buildings.listbuildings outputParameters: - type: object mapping: $. - name: get-building description: Get Building hints: readOnly: true destructive: false idempotent: true call: wegowise-buildings.getbuilding outputParameters: - type: object mapping: $. - name: update-building description: Update Building hints: readOnly: false destructive: false idempotent: true call: wegowise-buildings.updatebuilding with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-building description: Delete Building hints: readOnly: false destructive: true idempotent: true call: wegowise-buildings.deletebuilding outputParameters: - type: object mapping: $. - name: list-development-buildings description: List Development Buildings hints: readOnly: true destructive: false idempotent: true call: wegowise-buildings.listdevelopmentbuildings outputParameters: - type: object mapping: $. - name: create-building description: Create Building hints: readOnly: false destructive: false idempotent: false call: wegowise-buildings.createbuilding with: body: tools.body outputParameters: - type: object mapping: $.