naftiko: 1.0.0-alpha2 info: label: JFrog Xray REST API — Violations description: 'JFrog Xray REST API — Violations. 1 operations. Lead operation: JFrog Get Violations. Self-contained Naftiko capability covering one Jfrog business surface.' tags: - Jfrog - Violations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JFROG_API_KEY: JFROG_API_KEY capability: consumes: - type: http namespace: xray-violations baseUri: https://{server}.jfrog.io/xray/api description: JFrog Xray REST API — Violations business capability. Self-contained, no shared references. resources: - name: v1-violations path: /v1/violations operations: - name: getviolations method: POST description: JFrog Get Violations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.JFROG_API_KEY}}' exposes: - type: rest namespace: xray-violations-rest port: 8080 description: REST adapter for JFrog Xray REST API — Violations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/violations name: v1-violations description: REST surface for v1-violations. operations: - method: POST name: getviolations description: JFrog Get Violations call: xray-violations.getviolations with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: xray-violations-mcp port: 9090 transport: http description: MCP adapter for JFrog Xray REST API — Violations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: jfrog-get-violations description: JFrog Get Violations hints: readOnly: true destructive: false idempotent: false call: xray-violations.getviolations with: body: tools.body outputParameters: - type: object mapping: $.