naftiko: 1.0.0-alpha2 info: label: Microcks API v1.14 — config description: 'Microcks API v1.14 — config. 9 operations. Lead operation: Get features configuration. Self-contained Naftiko capability covering one Microcks business surface.' tags: - Microcks - config created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROCKS_API_KEY: MICROCKS_API_KEY capability: consumes: - type: http namespace: microcks-config baseUri: http://microcks.example.com/api description: Microcks API v1.14 — config business capability. Self-contained, no shared references. resources: - name: features-config path: /features/config operations: - name: getfeaturesconfig method: GET description: Get features configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: keycloak-config path: /keycloak/config operations: - name: getkeycloakconfig method: GET description: Get authentification configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: secrets path: /secrets operations: - name: getsecrets method: GET description: Get Secrets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page in: query type: integer description: Page of Secrets to retrieve (starts at and defaults to 0) - name: size in: query type: integer description: Size of a page. Maximum number of Secrets to include in a response (defaults to 20) - name: createsecret method: POST description: Create a new Secret outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: secrets-count path: /secrets/count operations: - name: getsecretscounter method: GET description: Get the Secrets counter outputRawFormat: json outputParameters: - name: result type: object value: $. - name: secrets-search path: /secrets/search operations: - name: searchsecrets method: GET description: Search for Secrets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: Search using this name-like criterion required: true - name: secrets-id path: /secrets/{id} operations: - name: getsecret method: GET description: Get Secret outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatesecret method: PUT description: Update Secret outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletesecret method: DELETE description: Delete Secret outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROCKS_API_KEY}}' exposes: - type: rest namespace: microcks-config-rest port: 8080 description: REST adapter for Microcks API v1.14 — config. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/features/config name: features-config description: REST surface for features-config. operations: - method: GET name: getfeaturesconfig description: Get features configuration call: microcks-config.getfeaturesconfig outputParameters: - type: object mapping: $. - path: /v1/keycloak/config name: keycloak-config description: REST surface for keycloak-config. operations: - method: GET name: getkeycloakconfig description: Get authentification configuration call: microcks-config.getkeycloakconfig outputParameters: - type: object mapping: $. - path: /v1/secrets name: secrets description: REST surface for secrets. operations: - method: GET name: getsecrets description: Get Secrets call: microcks-config.getsecrets with: page: rest.page size: rest.size outputParameters: - type: object mapping: $. - method: POST name: createsecret description: Create a new Secret call: microcks-config.createsecret with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/secrets/count name: secrets-count description: REST surface for secrets-count. operations: - method: GET name: getsecretscounter description: Get the Secrets counter call: microcks-config.getsecretscounter outputParameters: - type: object mapping: $. - path: /v1/secrets/search name: secrets-search description: REST surface for secrets-search. operations: - method: GET name: searchsecrets description: Search for Secrets call: microcks-config.searchsecrets with: name: rest.name outputParameters: - type: object mapping: $. - path: /v1/secrets/{id} name: secrets-id description: REST surface for secrets-id. operations: - method: GET name: getsecret description: Get Secret call: microcks-config.getsecret outputParameters: - type: object mapping: $. - method: PUT name: updatesecret description: Update Secret call: microcks-config.updatesecret with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesecret description: Delete Secret call: microcks-config.deletesecret outputParameters: - type: object mapping: $. - type: mcp namespace: microcks-config-mcp port: 9090 transport: http description: MCP adapter for Microcks API v1.14 — config. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-features-configuration description: Get features configuration hints: readOnly: true destructive: false idempotent: true call: microcks-config.getfeaturesconfig outputParameters: - type: object mapping: $. - name: get-authentification-configuration description: Get authentification configuration hints: readOnly: true destructive: false idempotent: true call: microcks-config.getkeycloakconfig outputParameters: - type: object mapping: $. - name: get-secrets description: Get Secrets hints: readOnly: true destructive: false idempotent: true call: microcks-config.getsecrets with: page: tools.page size: tools.size outputParameters: - type: object mapping: $. - name: create-new-secret description: Create a new Secret hints: readOnly: false destructive: false idempotent: false call: microcks-config.createsecret with: body: tools.body outputParameters: - type: object mapping: $. - name: get-secrets-counter description: Get the Secrets counter hints: readOnly: true destructive: false idempotent: true call: microcks-config.getsecretscounter outputParameters: - type: object mapping: $. - name: search-secrets description: Search for Secrets hints: readOnly: true destructive: false idempotent: true call: microcks-config.searchsecrets with: name: tools.name outputParameters: - type: object mapping: $. - name: get-secret description: Get Secret hints: readOnly: true destructive: false idempotent: true call: microcks-config.getsecret outputParameters: - type: object mapping: $. - name: update-secret description: Update Secret hints: readOnly: false destructive: false idempotent: true call: microcks-config.updatesecret with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-secret description: Delete Secret hints: readOnly: false destructive: true idempotent: true call: microcks-config.deletesecret outputParameters: - type: object mapping: $.