naftiko: 1.0.0-alpha2 info: label: Application Research Open Component Model API — Configurations description: 'Application Research Open Component Model API — Configurations. 4 operations. Lead operation: Application Research List component configurations. Self-contained Naftiko capability covering one Application Research business surface.' tags: - Application Research - Configurations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPLICATION_RESEARCH_API_KEY: APPLICATION_RESEARCH_API_KEY capability: consumes: - type: http namespace: open-component-model-configurations baseUri: https://api.ocm.example.com/v1 description: Application Research Open Component Model API — Configurations business capability. Self-contained, no shared references. resources: - name: configurations path: /configurations operations: - name: listconfigurations method: GET description: Application Research List component configurations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createconfiguration method: POST description: Application Research Create a component configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: configurations-id path: /configurations/{id} operations: - name: getconfiguration method: GET description: Application Research Get a configuration by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deleteconfiguration method: DELETE description: Application Research Delete a configuration outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.APPLICATION_RESEARCH_API_KEY}}' exposes: - type: rest namespace: open-component-model-configurations-rest port: 8080 description: REST adapter for Application Research Open Component Model API — Configurations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/configurations name: configurations description: REST surface for configurations. operations: - method: GET name: listconfigurations description: Application Research List component configurations call: open-component-model-configurations.listconfigurations outputParameters: - type: object mapping: $. - method: POST name: createconfiguration description: Application Research Create a component configuration call: open-component-model-configurations.createconfiguration with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/configurations/{id} name: configurations-id description: REST surface for configurations-id. operations: - method: GET name: getconfiguration description: Application Research Get a configuration by ID call: open-component-model-configurations.getconfiguration outputParameters: - type: object mapping: $. - method: DELETE name: deleteconfiguration description: Application Research Delete a configuration call: open-component-model-configurations.deleteconfiguration outputParameters: - type: object mapping: $. - type: mcp namespace: open-component-model-configurations-mcp port: 9090 transport: http description: MCP adapter for Application Research Open Component Model API — Configurations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: application-research-list-component-configurations description: Application Research List component configurations hints: readOnly: true destructive: false idempotent: true call: open-component-model-configurations.listconfigurations outputParameters: - type: object mapping: $. - name: application-research-create-component-configuration description: Application Research Create a component configuration hints: readOnly: true destructive: false idempotent: false call: open-component-model-configurations.createconfiguration with: body: tools.body outputParameters: - type: object mapping: $. - name: application-research-get-configuration-id description: Application Research Get a configuration by ID hints: readOnly: true destructive: false idempotent: true call: open-component-model-configurations.getconfiguration outputParameters: - type: object mapping: $. - name: application-research-delete-configuration description: Application Research Delete a configuration hints: readOnly: false destructive: true idempotent: true call: open-component-model-configurations.deleteconfiguration outputParameters: - type: object mapping: $.