naftiko: 1.0.0-alpha2 info: label: Lunar.dev Gateway Admin API — Flows description: 'Lunar.dev Gateway Admin API — Flows. 2 operations. Lead operation: Lunar.dev Apply flows. Self-contained Naftiko capability covering one Lunar Dev business surface.' tags: - Lunar Dev - Flows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LUNAR_DEV_API_KEY: LUNAR_DEV_API_KEY capability: consumes: - type: http namespace: gateway-admin-flows baseUri: http://localhost:8040 description: Lunar.dev Gateway Admin API — Flows business capability. Self-contained, no shared references. resources: - name: apply_flows path: /apply_flows operations: - name: applyflows method: POST description: Lunar.dev Apply flows outputRawFormat: json outputParameters: - name: result type: object value: $. - name: validate_flows path: /validate_flows operations: - name: validateflows method: POST description: Lunar.dev Validate flows outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: gateway-admin-flows-rest port: 8080 description: REST adapter for Lunar.dev Gateway Admin API — Flows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/apply-flows name: apply-flows description: REST surface for apply_flows. operations: - method: POST name: applyflows description: Lunar.dev Apply flows call: gateway-admin-flows.applyflows outputParameters: - type: object mapping: $. - path: /v1/validate-flows name: validate-flows description: REST surface for validate_flows. operations: - method: POST name: validateflows description: Lunar.dev Validate flows call: gateway-admin-flows.validateflows outputParameters: - type: object mapping: $. - type: mcp namespace: gateway-admin-flows-mcp port: 9090 transport: http description: MCP adapter for Lunar.dev Gateway Admin API — Flows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: lunar-dev-apply-flows description: Lunar.dev Apply flows hints: readOnly: false destructive: false idempotent: false call: gateway-admin-flows.applyflows outputParameters: - type: object mapping: $. - name: lunar-dev-validate-flows description: Lunar.dev Validate flows hints: readOnly: true destructive: false idempotent: false call: gateway-admin-flows.validateflows outputParameters: - type: object mapping: $.