QA Certification Management OpenAPI Specification — Test Summary

Test Summary. 2 operations. Lead operation: operations. Self-contained Naftiko capability covering one EPA business surface.

Run with Naftiko EPATest Summary

What You Can Do

GET
Testsummarycontrollergettestsummaries — testSummaryControllergetTestSummaries
/v1/qa-certification-mgmt/locations/{locid}/test-summary
GET
Testsummarycontrollergettestsummary — testSummaryControllergetTestSummary
/v1/qa-certification-mgmt/locations/{locid}/test-summary/{id}

MCP Tools

testsummarycontroller-gettestsummaries

testsummarycontroller-gettestsummaries

read-only idempotent
testsummarycontroller-gettestsummary

testsummarycontroller-gettestsummary

read-only idempotent

Capability Spec

cam-qa-cert-test-summary.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: QA Certification Management OpenAPI Specification — Test Summary
  description: 'Test Summary. 2 operations. Lead operation: operations. Self-contained Naftiko capability covering one EPA business surface.'
  tags:
    - EPA
    - Test Summary
  created: '2026-05-29'
  modified: '2026-05-29'
binds:
  - namespace: env
    keys:
      EPA_APIKEY_KEY: EPA_APIKEY_KEY
capability:
  consumes:
    - type: http
      namespace: cam-qa-cert-test-summary
      baseUri: https://api.epa.gov/easey
      description: QA Certification Management OpenAPI Specification — Test Summary business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: x-api-key
        value: '{{env.EPA_APIKEY_KEY}}'
        placement: header
      resources:
        - name: qa-certification-mgmt-locations-locid-test-summary
          path: /qa-certification-mgmt/locations/{locId}/test-summary
          operations:
            - name: testSummaryControllergetTestSummaries
              method: GET
              description: testSummaryControllergetTestSummaries
              inputParameters:
                - name: locId
                  in: path
                  type: string
                  required: true
                  description: locId
                - name: testTypeCodes
                  in: query
                  type: array
                  required: false
                  description: Code used to identify test type or the type of test performed.
                - name: systemTypeCodes
                  in: query
                  type: array
                  required: false
                  description: systemTypeCodes
                - name: beginDate
                  in: query
                  type: string
                  required: false
                  description: Date in which information became effective or activity started.
                - name: endDate
                  in: query
                  type: string
                  required: false
                  description: End date for a given period of a unit's emissions.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: qa-certification-mgmt-locations-locid-test-summary-id
          path: /qa-certification-mgmt/locations/{locId}/test-summary/{id}
          operations:
            - name: testSummaryControllergetTestSummary
              method: GET
              description: testSummaryControllergetTestSummary
              inputParameters:
                - name: locId
                  in: path
                  type: string
                  required: true
                  description: locId
                - name: id
                  in: path
                  type: string
                  required: true
                  description: id
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: cam-qa-cert-test-summary-rest
      port: 8080
      description: REST adapter for QA Certification Management OpenAPI Specification — Test Summary. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/qa-certification-mgmt/locations/{locid}/test-summary
          name: qa-certification-mgmt-locations-locid-test-summary
          description: REST surface for testSummaryControllergetTestSummaries.
          operations:
            - method: GET
              name: testSummaryControllergetTestSummaries
              description: testSummaryControllergetTestSummaries
              call: cam-qa-cert-test-summary.testSummaryControllergetTestSummaries
              with:
                locId: rest.locId
                testTypeCodes: rest.testTypeCodes
                systemTypeCodes: rest.systemTypeCodes
                beginDate: rest.beginDate
                endDate: rest.endDate
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/qa-certification-mgmt/locations/{locid}/test-summary/{id}
          name: qa-certification-mgmt-locations-locid-test-summary-id
          description: REST surface for testSummaryControllergetTestSummary.
          operations:
            - method: GET
              name: testSummaryControllergetTestSummary
              description: testSummaryControllergetTestSummary
              call: cam-qa-cert-test-summary.testSummaryControllergetTestSummary
              with:
                locId: rest.locId
                id: rest.id
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: cam-qa-cert-test-summary-mcp
      port: 9090
      transport: http
      description: MCP adapter for QA Certification Management OpenAPI Specification — Test Summary. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: testsummarycontroller-gettestsummaries
          description: testsummarycontroller-gettestsummaries
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: cam-qa-cert-test-summary.testSummaryControllergetTestSummaries
          with:
            locId: tools.locId
            testTypeCodes: tools.testTypeCodes
            systemTypeCodes: tools.systemTypeCodes
            beginDate: tools.beginDate
            endDate: tools.endDate
          outputParameters:
            - type: object
              mapping: $.
        - name: testsummarycontroller-gettestsummary
          description: testsummarycontroller-gettestsummary
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: cam-qa-cert-test-summary.testSummaryControllergetTestSummary
          with:
            locId: tools.locId
            id: tools.id
          outputParameters:
            - type: object
              mapping: $.