naftiko: 1.0.0-alpha2 info: label: Lever API — Requisitions description: 'Lever API — Requisitions. 5 operations. Lead operation: List requisitions. Self-contained Naftiko capability covering one Lever business surface.' tags: - Lever - Requisitions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LEVER_API_KEY: LEVER_API_KEY capability: consumes: - type: http namespace: lever-requisitions baseUri: https://api.lever.co/v1 description: Lever API — Requisitions business capability. Self-contained, no shared references. resources: - name: requisitions path: /requisitions operations: - name: get method: GET description: List requisitions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Create requisition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: requisitions-requisition path: /requisitions/{requisition} operations: - name: get method: GET description: Retrieve requisition outputRawFormat: json outputParameters: - name: result type: object value: $. - name: put method: PUT description: Update requisition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Delete requisition outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LEVER_API_KEY}}' exposes: - type: rest namespace: lever-requisitions-rest port: 8080 description: REST adapter for Lever API — Requisitions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/requisitions name: requisitions description: REST surface for requisitions. operations: - method: GET name: get description: List requisitions call: lever-requisitions.get outputParameters: - type: object mapping: $. - method: POST name: post description: Create requisition call: lever-requisitions.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/requisitions/{requisition} name: requisitions-requisition description: REST surface for requisitions-requisition. operations: - method: GET name: get description: Retrieve requisition call: lever-requisitions.get outputParameters: - type: object mapping: $. - method: PUT name: put description: Update requisition call: lever-requisitions.put with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Delete requisition call: lever-requisitions.delete outputParameters: - type: object mapping: $. - type: mcp namespace: lever-requisitions-mcp port: 9090 transport: http description: MCP adapter for Lever API — Requisitions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-requisitions description: List requisitions hints: readOnly: true destructive: false idempotent: true call: lever-requisitions.get outputParameters: - type: object mapping: $. - name: create-requisition description: Create requisition hints: readOnly: false destructive: false idempotent: false call: lever-requisitions.post with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-requisition description: Retrieve requisition hints: readOnly: true destructive: false idempotent: true call: lever-requisitions.get outputParameters: - type: object mapping: $. - name: update-requisition description: Update requisition hints: readOnly: false destructive: false idempotent: true call: lever-requisitions.put with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-requisition description: Delete requisition hints: readOnly: false destructive: true idempotent: true call: lever-requisitions.delete outputParameters: - type: object mapping: $.