naftiko: 1.0.0-alpha2 info: label: SVN WebDAV HTTP API — History description: 'SVN WebDAV HTTP API — History. 2 operations. Lead operation: Get Versioned Resource at Revision. Self-contained Naftiko capability covering one Svn business surface.' tags: - Svn - History created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SVN_API_KEY: SVN_API_KEY capability: consumes: - type: http namespace: webdav-history baseUri: https://svn.example.com/repos/{repository} description: SVN WebDAV HTTP API — History business capability. Self-contained, no shared references. resources: - name: '!svn-rvr-revision-path' path: /!svn/rvr/{revision}/{path} operations: - name: getrevisionversionedresource method: GET description: Get Versioned Resource at Revision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: revision in: path type: integer description: Revision number (integer) required: true - name: path in: path type: string description: Repository path required: true - name: path}?p={rev path: /{path}?p={rev} operations: - name: getfileatrevision method: GET description: Get File at Specific Revision outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: path in: path type: string required: true - name: p in: query type: integer description: Revision number required: true authentication: type: basic username: '{{env.SVN_USER}}' password: '{{env.SVN_PASS}}' exposes: - type: rest namespace: webdav-history-rest port: 8080 description: REST adapter for SVN WebDAV HTTP API — History. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/svn/rvr/{revision}/{path} name: svn-rvr-revision-path description: REST surface for !svn-rvr-revision-path. operations: - method: GET name: getrevisionversionedresource description: Get Versioned Resource at Revision call: webdav-history.getrevisionversionedresource with: revision: rest.revision path: rest.path outputParameters: - type: object mapping: $. - path: /v1/{path-p-rev} name: path-p-rev description: REST surface for path}?p={rev. operations: - method: GET name: getfileatrevision description: Get File at Specific Revision call: webdav-history.getfileatrevision with: path: rest.path p: rest.p outputParameters: - type: object mapping: $. - type: mcp namespace: webdav-history-mcp port: 9090 transport: http description: MCP adapter for SVN WebDAV HTTP API — History. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-versioned-resource-revision description: Get Versioned Resource at Revision hints: readOnly: true destructive: false idempotent: true call: webdav-history.getrevisionversionedresource with: revision: tools.revision path: tools.path outputParameters: - type: object mapping: $. - name: get-file-specific-revision description: Get File at Specific Revision hints: readOnly: true destructive: false idempotent: true call: webdav-history.getfileatrevision with: path: tools.path p: tools.p outputParameters: - type: object mapping: $.