naftiko: 1.0.0-alpha2 info: label: Synopsys Polaris API — Reports description: 'Synopsys Polaris API — Reports. 2 operations. Lead operation: Generate Report. Self-contained Naftiko capability covering one Synopsys business surface.' tags: - Synopsys - Reports created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SYNOPSYS_API_KEY: SYNOPSYS_API_KEY capability: consumes: - type: http namespace: polaris-reports baseUri: https://polaris.synopsys.com/api/v1 description: Synopsys Polaris API — Reports business capability. Self-contained, no shared references. resources: - name: reports path: /reports operations: - name: generatereport method: POST description: Generate Report outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: reports-reportId path: /reports/{reportId} operations: - name: getreport method: GET description: Get Report outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: reportId in: path type: string required: true authentication: type: bearer token: '{{env.SYNOPSYS_API_KEY}}' exposes: - type: rest namespace: polaris-reports-rest port: 8080 description: REST adapter for Synopsys Polaris API — Reports. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/reports name: reports description: REST surface for reports. operations: - method: POST name: generatereport description: Generate Report call: polaris-reports.generatereport with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/reports/{reportid} name: reports-reportid description: REST surface for reports-reportId. operations: - method: GET name: getreport description: Get Report call: polaris-reports.getreport with: reportId: rest.reportId outputParameters: - type: object mapping: $. - type: mcp namespace: polaris-reports-mcp port: 9090 transport: http description: MCP adapter for Synopsys Polaris API — Reports. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: generate-report description: Generate Report hints: readOnly: false destructive: false idempotent: false call: polaris-reports.generatereport with: body: tools.body outputParameters: - type: object mapping: $. - name: get-report description: Get Report hints: readOnly: true destructive: false idempotent: true call: polaris-reports.getreport with: reportId: tools.reportId outputParameters: - type: object mapping: $.