naftiko: 1.0.0-alpha2 info: label: Spring Cloud Config Server API — Resources description: 'Spring Cloud Config Server API — Resources. 1 operations. Lead operation: Get a resource file. Self-contained Naftiko capability covering one Spring Cloud Config business surface.' tags: - Spring Cloud Config - Resources created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SPRING_CLOUD_CONFIG_API_KEY: SPRING_CLOUD_CONFIG_API_KEY capability: consumes: - type: http namespace: server-resources baseUri: http://localhost:8888 description: Spring Cloud Config Server API — Resources business capability. Self-contained, no shared references. resources: - name: application-profile-label-path path: /{application}/{profile}/{label}/{path} operations: - name: getresourcefile method: GET description: Get a resource file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: application in: path type: string required: true - name: profile in: path type: string required: true - name: label in: path type: string required: true - name: path in: path type: string description: Path to the resource file in the repository required: true authentication: type: bearer token: '{{env.SPRING_CLOUD_CONFIG_API_KEY}}' exposes: - type: rest namespace: server-resources-rest port: 8080 description: REST adapter for Spring Cloud Config Server API — Resources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{application}/{profile}/{label}/{path} name: application-profile-label-path description: REST surface for application-profile-label-path. operations: - method: GET name: getresourcefile description: Get a resource file call: server-resources.getresourcefile with: application: rest.application profile: rest.profile label: rest.label path: rest.path outputParameters: - type: object mapping: $. - type: mcp namespace: server-resources-mcp port: 9090 transport: http description: MCP adapter for Spring Cloud Config Server API — Resources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-resource-file description: Get a resource file hints: readOnly: true destructive: false idempotent: true call: server-resources.getresourcefile with: application: tools.application profile: tools.profile label: tools.label path: tools.path outputParameters: - type: object mapping: $.