Kong · Capability

Konnect API - Go SDK — Schemas

Konnect API - Go SDK — Schemas. 2 operations. Lead operation: Get partial schema. Self-contained Naftiko capability covering one Kong business surface.

Run with Naftiko KongSchemas

What You Can Do

GET
Fetchpartialschema — Get partial schema
/v1/v2/control-planes/{controlplaneid}/core-entities/schemas/partials/{partialtype}
POST
Validateentityschema — Validate entity schema
/v1/v2/control-planes/{controlplaneid}/core-entities/schemas/{entityname}/validate

MCP Tools

get-partial-schema

Get partial schema

read-only idempotent
validate-entity-schema

Validate entity schema

read-only

Capability Spec

konnect-platform-schemas.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Konnect API - Go SDK — Schemas
  description: 'Konnect API - Go SDK — Schemas. 2 operations. Lead operation: Get partial schema. Self-contained Naftiko capability
    covering one Kong business surface.'
  tags:
  - Kong
  - Schemas
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KONG_API_KEY: KONG_API_KEY
capability:
  consumes:
  - type: http
    namespace: konnect-platform-schemas
    baseUri: https://global.api.konghq.com
    description: Konnect API - Go SDK — Schemas business capability. Self-contained, no shared references.
    resources:
    - name: v2-control-planes-controlPlaneId-core-entities-schemas-partials-partialType
      path: /v2/control-planes/{controlPlaneId}/core-entities/schemas/partials/{partialType}
      operations:
      - name: fetchpartialschema
        method: GET
        description: Get partial schema
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v2-control-planes-controlPlaneId-core-entities-schemas-entityName-validate
      path: /v2/control-planes/{controlPlaneId}/core-entities/schemas/{entityName}/validate
      operations:
      - name: validateentityschema
        method: POST
        description: Validate entity schema
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.KONG_API_KEY}}'
  exposes:
  - type: rest
    namespace: konnect-platform-schemas-rest
    port: 8080
    description: REST adapter for Konnect API - Go SDK — Schemas. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/schemas/partials/{partialtype}
      name: v2-control-planes-controlplaneid-core-entities-schemas-partials-partialtype
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-schemas-partials-partialType.
      operations:
      - method: GET
        name: fetchpartialschema
        description: Get partial schema
        call: konnect-platform-schemas.fetchpartialschema
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/control-planes/{controlplaneid}/core-entities/schemas/{entityname}/validate
      name: v2-control-planes-controlplaneid-core-entities-schemas-entityname-validate
      description: REST surface for v2-control-planes-controlPlaneId-core-entities-schemas-entityName-validate.
      operations:
      - method: POST
        name: validateentityschema
        description: Validate entity schema
        call: konnect-platform-schemas.validateentityschema
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: konnect-platform-schemas-mcp
    port: 9090
    transport: http
    description: MCP adapter for Konnect API - Go SDK — Schemas. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-partial-schema
      description: Get partial schema
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: konnect-platform-schemas.fetchpartialschema
      outputParameters:
      - type: object
        mapping: $.
    - name: validate-entity-schema
      description: Validate entity schema
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: konnect-platform-schemas.validateentityschema
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.