SwaggerHub · Capability

SwaggerHub Registry API — Search

SwaggerHub Registry API — Search. 1 operations. Lead operation: Search APIs Domains and Templates. Self-contained Naftiko capability covering one Swaggerhub business surface.

Run with Naftiko SwaggerhubSearch

What You Can Do

GET
Searchspecs — Search APIs Domains and Templates
/v1/specs

MCP Tools

search-apis-domains-and-templates

Search APIs Domains and Templates

read-only idempotent

Capability Spec

registry-search.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SwaggerHub Registry API — Search
  description: 'SwaggerHub Registry API — Search. 1 operations. Lead operation: Search APIs Domains and Templates. Self-contained
    Naftiko capability covering one Swaggerhub business surface.'
  tags:
  - Swaggerhub
  - Search
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SWAGGERHUB_API_KEY: SWAGGERHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: registry-search
    baseUri: https://api.swaggerhub.com
    description: SwaggerHub Registry API — Search business capability. Self-contained, no shared references.
    resources:
    - name: specs
      path: /specs
      operations:
      - name: searchspecs
        method: GET
        description: Search APIs Domains and Templates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: specType
          in: query
          type: string
          description: Filter by specification type
        - name: owner
          in: query
          type: string
          description: Filter by owner username or organization
        - name: query
          in: query
          type: string
          description: Free-text search query
        - name: page
          in: query
          type: integer
        - name: limit
          in: query
          type: integer
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.SWAGGERHUB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: registry-search-rest
    port: 8080
    description: REST adapter for SwaggerHub Registry API — Search. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/specs
      name: specs
      description: REST surface for specs.
      operations:
      - method: GET
        name: searchspecs
        description: Search APIs Domains and Templates
        call: registry-search.searchspecs
        with:
          specType: rest.specType
          owner: rest.owner
          query: rest.query
          page: rest.page
          limit: rest.limit
          sort: rest.sort
          order: rest.order
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: registry-search-mcp
    port: 9090
    transport: http
    description: MCP adapter for SwaggerHub Registry API — Search. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: search-apis-domains-and-templates
      description: Search APIs Domains and Templates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: registry-search.searchspecs
      with:
        specType: tools.specType
        owner: tools.owner
        query: tools.query
        page: tools.page
        limit: tools.limit
        sort: tools.sort
        order: tools.order
      outputParameters:
      - type: object
        mapping: $.