naftiko: 1.0.0-alpha2 info: label: JFrog Curation REST API — Policies description: 'JFrog Curation REST API — Policies. 5 operations. Lead operation: JFrog List Curation Policies. Self-contained Naftiko capability covering one Jfrog business surface.' tags: - Jfrog - Policies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JFROG_API_KEY: JFROG_API_KEY capability: consumes: - type: http namespace: curation-policies baseUri: https://{server}.jfrog.io/curation/api description: JFrog Curation REST API — Policies business capability. Self-contained, no shared references. resources: - name: v1-policies path: /v1/policies operations: - name: listpolicies method: GET description: JFrog List Curation Policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpolicy method: POST description: JFrog Create Curation Policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-policies-policyName path: /v1/policies/{policyName} operations: - name: getpolicy method: GET description: JFrog Get Curation Policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policyName in: path type: string description: Policy name required: true - name: updatepolicy method: PUT description: JFrog Update Curation Policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policyName in: path type: string description: Policy name required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletepolicy method: DELETE description: JFrog Delete Curation Policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policyName in: path type: string description: Policy name required: true authentication: type: bearer token: '{{env.JFROG_API_KEY}}' exposes: - type: rest namespace: curation-policies-rest port: 8080 description: REST adapter for JFrog Curation REST API — Policies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/policies name: v1-policies description: REST surface for v1-policies. operations: - method: GET name: listpolicies description: JFrog List Curation Policies call: curation-policies.listpolicies outputParameters: - type: object mapping: $. - method: POST name: createpolicy description: JFrog Create Curation Policy call: curation-policies.createpolicy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/policies/{policyname} name: v1-policies-policyname description: REST surface for v1-policies-policyName. operations: - method: GET name: getpolicy description: JFrog Get Curation Policy call: curation-policies.getpolicy with: policyName: rest.policyName outputParameters: - type: object mapping: $. - method: PUT name: updatepolicy description: JFrog Update Curation Policy call: curation-policies.updatepolicy with: policyName: rest.policyName body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletepolicy description: JFrog Delete Curation Policy call: curation-policies.deletepolicy with: policyName: rest.policyName outputParameters: - type: object mapping: $. - type: mcp namespace: curation-policies-mcp port: 9090 transport: http description: MCP adapter for JFrog Curation REST API — Policies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: jfrog-list-curation-policies description: JFrog List Curation Policies hints: readOnly: true destructive: false idempotent: true call: curation-policies.listpolicies outputParameters: - type: object mapping: $. - name: jfrog-create-curation-policy description: JFrog Create Curation Policy hints: readOnly: false destructive: false idempotent: false call: curation-policies.createpolicy with: body: tools.body outputParameters: - type: object mapping: $. - name: jfrog-get-curation-policy description: JFrog Get Curation Policy hints: readOnly: true destructive: false idempotent: true call: curation-policies.getpolicy with: policyName: tools.policyName outputParameters: - type: object mapping: $. - name: jfrog-update-curation-policy description: JFrog Update Curation Policy hints: readOnly: false destructive: false idempotent: true call: curation-policies.updatepolicy with: policyName: tools.policyName body: tools.body outputParameters: - type: object mapping: $. - name: jfrog-delete-curation-policy description: JFrog Delete Curation Policy hints: readOnly: false destructive: true idempotent: true call: curation-policies.deletepolicy with: policyName: tools.policyName outputParameters: - type: object mapping: $.