naftiko: 1.0.0-alpha2 info: label: Apache APISIX Admin API — Schema description: 'Apache APISIX Admin API — Schema. 1 operations. Lead operation: Apache APISIX Validate Resource Schema. Self-contained Naftiko capability covering one Apache Apisix business surface.' tags: - Apache Apisix - Schema created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APACHE_APISIX_API_KEY: APACHE_APISIX_API_KEY capability: consumes: - type: http namespace: admin-schema baseUri: http://127.0.0.1:9180/apisix/admin description: Apache APISIX Admin API — Schema business capability. Self-contained, no shared references. resources: - name: schema-validate-resource path: /schema/validate/{resource} operations: - name: validateschema method: POST description: Apache APISIX Validate Resource Schema outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resource in: path type: string description: The resource type to validate against (e.g. routes, services, upstreams). required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-API-KEY value: '{{env.APACHE_APISIX_API_KEY}}' placement: header exposes: - type: rest namespace: admin-schema-rest port: 8080 description: REST adapter for Apache APISIX Admin API — Schema. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/schema/validate/{resource} name: schema-validate-resource description: REST surface for schema-validate-resource. operations: - method: POST name: validateschema description: Apache APISIX Validate Resource Schema call: admin-schema.validateschema with: resource: rest.resource body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: admin-schema-mcp port: 9090 transport: http description: MCP adapter for Apache APISIX Admin API — Schema. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apache-apisix-validate-resource-schema description: Apache APISIX Validate Resource Schema hints: readOnly: true destructive: false idempotent: false call: admin-schema.validateschema with: resource: tools.resource body: tools.body outputParameters: - type: object mapping: $.