agentic-qe 3.4.0 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/.validation/README.md +111 -0
- package/.claude/skills/.validation/examples/chaos-engineering-output.example.json +530 -0
- package/.claude/skills/.validation/examples/performance-testing-output.example.json +252 -0
- package/.claude/skills/.validation/examples/security-testing-output.example.json +413 -0
- package/.claude/skills/.validation/examples/testability-scoring-output.example.json +350 -0
- package/.claude/skills/.validation/schemas/skill-eval.schema.json +452 -0
- package/.claude/skills/.validation/schemas/skill-frontmatter.schema.json +341 -0
- package/.claude/skills/.validation/schemas/skill-output-meta.schema.json +199 -0
- package/.claude/skills/.validation/schemas/skill-output.template.json +610 -0
- package/.claude/skills/.validation/skill-validation-mcp-integration.md +250 -0
- package/.claude/skills/.validation/templates/eval.template.yaml +366 -0
- package/.claude/skills/.validation/templates/schemas/output.json +145 -0
- package/.claude/skills/.validation/templates/security-testing-eval.template.yaml +725 -0
- package/.claude/skills/.validation/templates/skill-frontmatter.example.yaml +225 -0
- package/.claude/skills/.validation/templates/validate.template.sh +1060 -0
- package/.claude/skills/.validation/templates/validator-lib.sh +1031 -0
- package/.claude/skills/.validation/test-data/invalid-output.json +5 -0
- package/.claude/skills/.validation/test-data/minimal-output.json +9 -0
- package/.claude/skills/.validation/test-data/sample-output.json +73 -0
- package/.claude/skills/TRUST-TIERS.md +158 -0
- package/.claude/skills/a11y-ally/SKILL.md +1664 -1658
- package/.claude/skills/a11y-ally/evals/a11y-ally.yaml +376 -0
- package/.claude/skills/a11y-ally/schemas/output.json +549 -0
- package/.claude/skills/a11y-ally/scripts/validate.sh +690 -0
- package/.claude/skills/accessibility-testing/SKILL.md +8 -1
- package/.claude/skills/accessibility-testing/evals/accessibility-testing.yaml +719 -0
- package/.claude/skills/accessibility-testing/schemas/output.json +776 -0
- package/.claude/skills/accessibility-testing/scripts/validate.sh +943 -0
- package/.claude/skills/accessibility-testing/test-data/sample-output.json +191 -0
- package/.claude/skills/agentic-quality-engineering/SKILL.md +4 -0
- package/.claude/skills/agentic-quality-engineering/schemas/output.json +577 -0
- package/.claude/skills/api-testing-patterns/SKILL.md +5 -0
- package/.claude/skills/api-testing-patterns/evals/api-testing-patterns.yaml +696 -0
- package/.claude/skills/api-testing-patterns/schemas/output.json +845 -0
- package/.claude/skills/api-testing-patterns/scripts/validate.sh +931 -0
- package/.claude/skills/aqe-v2-v3-migration/schemas/output.json +513 -0
- package/.claude/skills/aqe-v2-v3-migration/skill.md +4 -0
- package/.claude/skills/brutal-honesty-review/SKILL.md +5 -0
- package/.claude/skills/brutal-honesty-review/schemas/output.json +291 -0
- package/.claude/skills/brutal-honesty-review/scripts/validate.sh +130 -0
- package/.claude/skills/bug-reporting-excellence/SKILL.md +5 -0
- package/.claude/skills/bug-reporting-excellence/schemas/output.json +288 -0
- package/.claude/skills/bug-reporting-excellence/scripts/validate.sh +108 -0
- package/.claude/skills/chaos-engineering-resilience/SKILL.md +5 -0
- package/.claude/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +761 -0
- package/.claude/skills/chaos-engineering-resilience/schemas/output.json +1205 -0
- package/.claude/skills/chaos-engineering-resilience/scripts/validate.sh +1107 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/SKILL.md +6 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/evals/cicd-pipeline-qe-orchestrator.yaml +157 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/schemas/output.json +542 -0
- package/.claude/skills/cicd-pipeline-qe-orchestrator/scripts/validate.sh +310 -0
- package/.claude/skills/code-review-quality/SKILL.md +5 -0
- package/.claude/skills/code-review-quality/schemas/output.json +264 -0
- package/.claude/skills/code-review-quality/scripts/validate.sh +113 -0
- package/.claude/skills/compatibility-testing/evals/compatibility-testing.yaml +410 -0
- package/.claude/skills/compatibility-testing/schemas/output.json +551 -0
- package/.claude/skills/compatibility-testing/scripts/validate.sh +605 -0
- package/.claude/skills/compliance-testing/SKILL.md +7 -0
- package/.claude/skills/compliance-testing/evals/compliance-testing.yaml +1107 -0
- package/.claude/skills/compliance-testing/schemas/output.json +845 -0
- package/.claude/skills/compliance-testing/scripts/validate.sh +888 -0
- package/.claude/skills/consultancy-practices/SKILL.md +4 -0
- package/.claude/skills/consultancy-practices/schemas/output.json +282 -0
- package/.claude/skills/context-driven-testing/SKILL.md +3 -0
- package/.claude/skills/contract-testing/SKILL.md +5 -0
- package/.claude/skills/contract-testing/evals/contract-testing.yaml +748 -0
- package/.claude/skills/contract-testing/schemas/output.json +638 -0
- package/.claude/skills/contract-testing/scripts/validate.sh +1033 -0
- package/.claude/skills/database-testing/SKILL.md +5 -0
- package/.claude/skills/database-testing/evals/database-testing.yaml +968 -0
- package/.claude/skills/database-testing/schemas/output.json +1446 -0
- package/.claude/skills/database-testing/scripts/validate.sh +1099 -0
- package/.claude/skills/exploratory-testing-advanced/SKILL.md +3 -0
- package/.claude/skills/holistic-testing-pact/SKILL.md +3 -0
- package/.claude/skills/localization-testing/SKILL.md +6 -0
- package/.claude/skills/localization-testing/evals/localization-testing.yaml +544 -0
- package/.claude/skills/localization-testing/schemas/output.json +325 -0
- package/.claude/skills/localization-testing/scripts/validate.sh +131 -0
- package/.claude/skills/mobile-testing/SKILL.md +6 -0
- package/.claude/skills/mobile-testing/evals/mobile-testing.yaml +537 -0
- package/.claude/skills/mobile-testing/schemas/output.json +318 -0
- package/.claude/skills/mobile-testing/scripts/validate.sh +127 -0
- package/.claude/skills/mutation-testing/SKILL.md +8 -1
- package/.claude/skills/mutation-testing/evals/mutation-testing.yaml +652 -0
- package/.claude/skills/mutation-testing/schemas/output.json +707 -0
- package/.claude/skills/mutation-testing/scripts/validate.sh +992 -0
- package/.claude/skills/mutation-testing/test-data/sample-output.json +295 -0
- package/.claude/skills/n8n-expression-testing/SKILL.md +6 -0
- package/.claude/skills/n8n-expression-testing/evals/n8n-expression-testing.yaml +450 -0
- package/.claude/skills/n8n-expression-testing/schemas/output.json +369 -0
- package/.claude/skills/n8n-expression-testing/scripts/validate.sh +162 -0
- package/.claude/skills/n8n-integration-testing-patterns/SKILL.md +6 -0
- package/.claude/skills/n8n-integration-testing-patterns/evals/n8n-integration-testing-patterns.yaml +522 -0
- package/.claude/skills/n8n-integration-testing-patterns/schemas/output.json +291 -0
- package/.claude/skills/n8n-integration-testing-patterns/scripts/validate.sh +104 -0
- package/.claude/skills/n8n-security-testing/SKILL.md +6 -0
- package/.claude/skills/n8n-security-testing/evals/n8n-security-testing.yaml +493 -0
- package/.claude/skills/n8n-security-testing/schemas/output.json +293 -0
- package/.claude/skills/n8n-security-testing/scripts/validate.sh +120 -0
- package/.claude/skills/n8n-trigger-testing-strategies/SKILL.md +6 -0
- package/.claude/skills/n8n-trigger-testing-strategies/evals/n8n-trigger-testing-strategies.yaml +500 -0
- package/.claude/skills/n8n-trigger-testing-strategies/schemas/output.json +295 -0
- package/.claude/skills/n8n-trigger-testing-strategies/scripts/validate.sh +121 -0
- package/.claude/skills/n8n-workflow-testing-fundamentals/SKILL.md +6 -0
- package/.claude/skills/n8n-workflow-testing-fundamentals/evals/n8n-workflow-testing-fundamentals.yaml +497 -0
- package/.claude/skills/n8n-workflow-testing-fundamentals/schemas/output.json +254 -0
- package/.claude/skills/n8n-workflow-testing-fundamentals/scripts/validate.sh +126 -0
- package/.claude/skills/performance-analysis/SKILL.md +6 -0
- package/.claude/skills/performance-analysis/evals/performance-analysis.yaml +144 -0
- package/.claude/skills/performance-analysis/schemas/output.json +588 -0
- package/.claude/skills/performance-analysis/scripts/validate.sh +63 -0
- package/.claude/skills/performance-testing/SKILL.md +5 -0
- package/.claude/skills/performance-testing/evals/performance-testing.yaml +772 -0
- package/.claude/skills/performance-testing/schemas/output.json +1184 -0
- package/.claude/skills/performance-testing/scripts/validate.sh +1090 -0
- package/.claude/skills/qcsd-ideation-swarm/SKILL.md +1759 -1753
- package/.claude/skills/qcsd-ideation-swarm/evals/qcsd-ideation-swarm.yaml +138 -0
- package/.claude/skills/qcsd-ideation-swarm/schemas/output.json +568 -0
- package/.claude/skills/qcsd-ideation-swarm/scripts/validate.sh +56 -0
- package/.claude/skills/qe-chaos-resilience/SKILL.md +6 -0
- package/.claude/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +443 -0
- package/.claude/skills/qe-chaos-resilience/schemas/output.json +314 -0
- package/.claude/skills/qe-chaos-resilience/scripts/validate.sh +401 -0
- package/.claude/skills/qe-code-intelligence/SKILL.md +6 -0
- package/.claude/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +459 -0
- package/.claude/skills/qe-code-intelligence/schemas/output.json +315 -0
- package/.claude/skills/qe-code-intelligence/scripts/validate.sh +408 -0
- package/.claude/skills/qe-contract-testing/SKILL.md +6 -0
- package/.claude/skills/qe-contract-testing/evals/qe-contract-testing.yaml +513 -0
- package/.claude/skills/qe-contract-testing/schemas/output.json +295 -0
- package/.claude/skills/qe-contract-testing/scripts/validate.sh +421 -0
- package/.claude/skills/qe-coverage-analysis/SKILL.md +6 -0
- package/.claude/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +494 -0
- package/.claude/skills/qe-coverage-analysis/schemas/output.json +286 -0
- package/.claude/skills/qe-coverage-analysis/scripts/validate.sh +453 -0
- package/.claude/skills/qe-defect-intelligence/SKILL.md +6 -0
- package/.claude/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +511 -0
- package/.claude/skills/qe-defect-intelligence/schemas/output.json +283 -0
- package/.claude/skills/qe-defect-intelligence/scripts/validate.sh +466 -0
- package/.claude/skills/qe-iterative-loop/SKILL.md +445 -440
- package/.claude/skills/qe-iterative-loop/schemas/output.json +264 -0
- package/.claude/skills/qe-iterative-loop/scripts/validate.sh +474 -0
- package/.claude/skills/qe-learning-optimization/SKILL.md +6 -0
- package/.claude/skills/qe-learning-optimization/evals/qe-learning-optimization.yaml +144 -0
- package/.claude/skills/qe-learning-optimization/schemas/output.json +288 -0
- package/.claude/skills/qe-learning-optimization/scripts/validate.sh +56 -0
- package/.claude/skills/qe-quality-assessment/SKILL.md +6 -0
- package/.claude/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +506 -0
- package/.claude/skills/qe-quality-assessment/schemas/output.json +550 -0
- package/.claude/skills/qe-quality-assessment/scripts/validate.sh +352 -0
- package/.claude/skills/qe-requirements-validation/SKILL.md +6 -0
- package/.claude/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +598 -0
- package/.claude/skills/qe-requirements-validation/schemas/output.json +587 -0
- package/.claude/skills/qe-requirements-validation/scripts/validate.sh +275 -0
- package/.claude/skills/qe-security-compliance/SKILL.md +6 -0
- package/.claude/skills/qe-security-compliance/evals/qe-security-compliance.yaml +595 -0
- package/.claude/skills/qe-security-compliance/schemas/output.json +498 -0
- package/.claude/skills/qe-security-compliance/scripts/validate.sh +305 -0
- package/.claude/skills/qe-test-execution/SKILL.md +6 -0
- package/.claude/skills/qe-test-execution/evals/qe-test-execution.yaml +607 -0
- package/.claude/skills/qe-test-execution/schemas/output.json +529 -0
- package/.claude/skills/qe-test-execution/scripts/validate.sh +323 -0
- package/.claude/skills/qe-test-generation/SKILL.md +6 -0
- package/.claude/skills/qe-test-generation/evals/qe-test-generation.yaml +148 -0
- package/.claude/skills/qe-test-generation/schemas/output.json +439 -0
- package/.claude/skills/qe-test-generation/scripts/validate.sh +56 -0
- package/.claude/skills/qe-visual-accessibility/SKILL.md +6 -0
- package/.claude/skills/qe-visual-accessibility/evals/qe-visual-accessibility.yaml +142 -0
- package/.claude/skills/qe-visual-accessibility/schemas/output.json +491 -0
- package/.claude/skills/qe-visual-accessibility/scripts/validate.sh +56 -0
- package/.claude/skills/quality-metrics/SKILL.md +6 -0
- package/.claude/skills/quality-metrics/evals/quality-metrics.yaml +494 -0
- package/.claude/skills/quality-metrics/schemas/output.json +403 -0
- package/.claude/skills/quality-metrics/scripts/validate.sh +434 -0
- package/.claude/skills/refactoring-patterns/SKILL.md +5 -0
- package/.claude/skills/refactoring-patterns/schemas/output.json +475 -0
- package/.claude/skills/refactoring-patterns/scripts/validate.sh +241 -0
- package/.claude/skills/regression-testing/SKILL.md +6 -0
- package/.claude/skills/regression-testing/evals/regression-testing.yaml +504 -0
- package/.claude/skills/regression-testing/schemas/output.json +311 -0
- package/.claude/skills/regression-testing/scripts/validate.sh +130 -0
- package/.claude/skills/risk-based-testing/SKILL.md +6 -0
- package/.claude/skills/risk-based-testing/evals/risk-based-testing.yaml +141 -0
- package/.claude/skills/risk-based-testing/schemas/output.json +480 -0
- package/.claude/skills/risk-based-testing/scripts/validate.sh +56 -0
- package/.claude/skills/security-testing/SKILL.md +5 -0
- package/.claude/skills/security-testing/evals/security-testing.yaml +789 -0
- package/.claude/skills/security-testing/schemas/output.json +879 -0
- package/.claude/skills/security-testing/scripts/validate.sh +967 -0
- package/.claude/skills/security-visual-testing/SKILL.md +223 -217
- package/.claude/skills/security-visual-testing/evals/security-visual-testing.yaml +163 -0
- package/.claude/skills/security-visual-testing/schemas/output.json +486 -0
- package/.claude/skills/security-visual-testing/scripts/validate.sh +748 -0
- package/.claude/skills/sherlock-review/SKILL.md +5 -0
- package/.claude/skills/sherlock-review/schemas/output.json +297 -0
- package/.claude/skills/sherlock-review/scripts/validate.sh +115 -0
- package/.claude/skills/shift-left-testing/SKILL.md +6 -0
- package/.claude/skills/shift-left-testing/evals/shift-left-testing.yaml +145 -0
- package/.claude/skills/shift-left-testing/schemas/output.json +459 -0
- package/.claude/skills/shift-left-testing/scripts/validate.sh +56 -0
- package/.claude/skills/shift-right-testing/SKILL.md +6 -0
- package/.claude/skills/shift-right-testing/evals/shift-right-testing.yaml +147 -0
- package/.claude/skills/shift-right-testing/schemas/output.json +418 -0
- package/.claude/skills/shift-right-testing/scripts/validate.sh +56 -0
- package/.claude/skills/six-thinking-hats/SKILL.md +3 -0
- package/.claude/skills/tdd-london-chicago/SKILL.md +5 -0
- package/.claude/skills/tdd-london-chicago/schemas/output.json +444 -0
- package/.claude/skills/tdd-london-chicago/scripts/validate.sh +214 -0
- package/.claude/skills/technical-writing/SKILL.md +4 -0
- package/.claude/skills/technical-writing/schemas/output.json +268 -0
- package/.claude/skills/test-automation-strategy/SKILL.md +6 -0
- package/.claude/skills/test-automation-strategy/evals/test-automation-strategy.yaml +148 -0
- package/.claude/skills/test-automation-strategy/schemas/output.json +444 -0
- package/.claude/skills/test-automation-strategy/scripts/validate.sh +195 -0
- package/.claude/skills/test-data-management/SKILL.md +6 -0
- package/.claude/skills/test-data-management/evals/test-data-management.yaml +504 -0
- package/.claude/skills/test-data-management/schemas/output.json +284 -0
- package/.claude/skills/test-data-management/scripts/validate.sh +137 -0
- package/.claude/skills/test-design-techniques/SKILL.md +6 -0
- package/.claude/skills/test-design-techniques/evals/test-design-techniques.yaml +142 -0
- package/.claude/skills/test-design-techniques/schemas/output.json +295 -0
- package/.claude/skills/test-design-techniques/scripts/validate.sh +91 -0
- package/.claude/skills/test-environment-management/SKILL.md +4 -0
- package/.claude/skills/test-environment-management/schemas/output.json +310 -0
- package/.claude/skills/test-reporting-analytics/SKILL.md +6 -0
- package/.claude/skills/test-reporting-analytics/evals/test-reporting-analytics.yaml +155 -0
- package/.claude/skills/test-reporting-analytics/schemas/output.json +329 -0
- package/.claude/skills/test-reporting-analytics/scripts/validate.sh +77 -0
- package/.claude/skills/testability-scoring/SKILL.md +5 -0
- package/.claude/skills/testability-scoring/evals/testability-scoring.yaml +814 -0
- package/.claude/skills/testability-scoring/schemas/output.json +606 -0
- package/.claude/skills/testability-scoring/scripts/validate.sh +891 -0
- package/.claude/skills/trust-tier-manifest.json +2333 -0
- package/.claude/skills/verification-quality/SKILL.md +6 -0
- package/.claude/skills/verification-quality/evals/verification-quality.yaml +150 -0
- package/.claude/skills/verification-quality/schemas/output.json +432 -0
- package/.claude/skills/verification-quality/scripts/validate.sh +77 -0
- package/.claude/skills/visual-testing-advanced/SKILL.md +6 -0
- package/.claude/skills/visual-testing-advanced/evals/visual-testing-advanced.yaml +154 -0
- package/.claude/skills/visual-testing-advanced/schemas/output.json +294 -0
- package/.claude/skills/visual-testing-advanced/scripts/validate.sh +77 -0
- package/.claude/skills/xp-practices/SKILL.md +3 -0
- package/CHANGELOG.md +23 -0
- package/README.md +39 -2
- package/package.json +4 -1
- package/scripts/run-skill-eval.ts +1097 -0
- package/scripts/test-schema-validation.js +301 -0
- package/scripts/update-skill-manifest.ts +751 -0
- package/scripts/validate-skill-frontmatter.js +141 -0
- package/v3/CHANGELOG.md +21 -0
- package/v3/README.md +43 -3
- package/v3/assets/agents/v3/qe-test-idea-rewriter.md +375 -375
- package/v3/assets/skills/.validation/README.md +111 -0
- package/v3/assets/skills/.validation/examples/chaos-engineering-output.example.json +530 -0
- package/v3/assets/skills/.validation/examples/performance-testing-output.example.json +252 -0
- package/v3/assets/skills/.validation/examples/security-testing-output.example.json +413 -0
- package/v3/assets/skills/.validation/examples/testability-scoring-output.example.json +350 -0
- package/v3/assets/skills/.validation/schemas/skill-eval.schema.json +452 -0
- package/v3/assets/skills/.validation/schemas/skill-frontmatter.schema.json +341 -0
- package/v3/assets/skills/.validation/schemas/skill-output-meta.schema.json +199 -0
- package/v3/assets/skills/.validation/schemas/skill-output.template.json +610 -0
- package/v3/assets/skills/.validation/skill-validation-mcp-integration.md +250 -0
- package/v3/assets/skills/.validation/templates/eval.template.yaml +366 -0
- package/v3/assets/skills/.validation/templates/schemas/output.json +145 -0
- package/v3/assets/skills/.validation/templates/security-testing-eval.template.yaml +725 -0
- package/v3/assets/skills/.validation/templates/skill-frontmatter.example.yaml +225 -0
- package/v3/assets/skills/.validation/templates/validate.template.sh +1060 -0
- package/v3/assets/skills/.validation/templates/validator-lib.sh +1031 -0
- package/v3/assets/skills/.validation/test-data/invalid-output.json +5 -0
- package/v3/assets/skills/.validation/test-data/minimal-output.json +9 -0
- package/v3/assets/skills/.validation/test-data/sample-output.json +73 -0
- package/v3/assets/skills/accessibility-testing/SKILL.md +8 -1
- package/v3/assets/skills/accessibility-testing/evals/accessibility-testing.yaml +719 -0
- package/v3/assets/skills/accessibility-testing/schemas/output.json +776 -0
- package/v3/assets/skills/accessibility-testing/scripts/validate.sh +943 -0
- package/v3/assets/skills/accessibility-testing/test-data/sample-output.json +191 -0
- package/v3/assets/skills/agentic-quality-engineering/SKILL.md +4 -0
- package/v3/assets/skills/agentic-quality-engineering/schemas/output.json +577 -0
- package/v3/assets/skills/api-testing-patterns/SKILL.md +5 -0
- package/v3/assets/skills/api-testing-patterns/evals/api-testing-patterns.yaml +696 -0
- package/v3/assets/skills/api-testing-patterns/schemas/output.json +845 -0
- package/v3/assets/skills/api-testing-patterns/scripts/validate.sh +931 -0
- package/v3/assets/skills/aqe-v2-v3-migration/schemas/output.json +513 -0
- package/v3/assets/skills/aqe-v2-v3-migration/skill.md +20 -16
- package/v3/assets/skills/bug-reporting-excellence/SKILL.md +5 -0
- package/v3/assets/skills/bug-reporting-excellence/schemas/output.json +288 -0
- package/v3/assets/skills/bug-reporting-excellence/scripts/validate.sh +108 -0
- package/v3/assets/skills/chaos-engineering-resilience/SKILL.md +5 -0
- package/v3/assets/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +761 -0
- package/v3/assets/skills/chaos-engineering-resilience/schemas/output.json +1205 -0
- package/v3/assets/skills/chaos-engineering-resilience/scripts/validate.sh +1107 -0
- package/v3/assets/skills/code-review-quality/SKILL.md +5 -0
- package/v3/assets/skills/code-review-quality/schemas/output.json +264 -0
- package/v3/assets/skills/code-review-quality/scripts/validate.sh +113 -0
- package/v3/assets/skills/compatibility-testing/evals/compatibility-testing.yaml +410 -0
- package/v3/assets/skills/compatibility-testing/schemas/output.json +551 -0
- package/v3/assets/skills/compatibility-testing/scripts/validate.sh +605 -0
- package/v3/assets/skills/compliance-testing/SKILL.md +7 -0
- package/v3/assets/skills/compliance-testing/evals/compliance-testing.yaml +1107 -0
- package/v3/assets/skills/compliance-testing/schemas/output.json +845 -0
- package/v3/assets/skills/compliance-testing/scripts/validate.sh +888 -0
- package/v3/assets/skills/consultancy-practices/SKILL.md +4 -0
- package/v3/assets/skills/consultancy-practices/schemas/output.json +282 -0
- package/v3/assets/skills/context-driven-testing/SKILL.md +3 -0
- package/v3/assets/skills/contract-testing/SKILL.md +5 -0
- package/v3/assets/skills/contract-testing/evals/contract-testing.yaml +748 -0
- package/v3/assets/skills/contract-testing/schemas/output.json +638 -0
- package/v3/assets/skills/contract-testing/scripts/validate.sh +1033 -0
- package/v3/assets/skills/database-testing/SKILL.md +5 -0
- package/v3/assets/skills/database-testing/evals/database-testing.yaml +968 -0
- package/v3/assets/skills/database-testing/schemas/output.json +1446 -0
- package/v3/assets/skills/database-testing/scripts/validate.sh +1099 -0
- package/v3/assets/skills/exploratory-testing-advanced/SKILL.md +3 -0
- package/v3/assets/skills/holistic-testing-pact/SKILL.md +3 -0
- package/v3/assets/skills/localization-testing/SKILL.md +6 -0
- package/v3/assets/skills/localization-testing/evals/localization-testing.yaml +544 -0
- package/v3/assets/skills/localization-testing/schemas/output.json +325 -0
- package/v3/assets/skills/localization-testing/scripts/validate.sh +131 -0
- package/v3/assets/skills/mobile-testing/SKILL.md +6 -0
- package/v3/assets/skills/mobile-testing/evals/mobile-testing.yaml +537 -0
- package/v3/assets/skills/mobile-testing/schemas/output.json +318 -0
- package/v3/assets/skills/mobile-testing/scripts/validate.sh +127 -0
- package/v3/assets/skills/mutation-testing/SKILL.md +8 -1
- package/v3/assets/skills/mutation-testing/evals/mutation-testing.yaml +652 -0
- package/v3/assets/skills/mutation-testing/schemas/output.json +707 -0
- package/v3/assets/skills/mutation-testing/scripts/validate.sh +992 -0
- package/v3/assets/skills/mutation-testing/test-data/sample-output.json +295 -0
- package/v3/assets/skills/n8n-expression-testing/scripts/validate.sh +162 -0
- package/v3/assets/skills/n8n-integration-testing-patterns/scripts/validate.sh +104 -0
- package/v3/assets/skills/n8n-security-testing/scripts/validate.sh +120 -0
- package/v3/assets/skills/n8n-trigger-testing-strategies/scripts/validate.sh +121 -0
- package/v3/assets/skills/n8n-workflow-testing-fundamentals/scripts/validate.sh +126 -0
- package/v3/assets/skills/performance-testing/SKILL.md +5 -0
- package/v3/assets/skills/performance-testing/evals/performance-testing.yaml +772 -0
- package/v3/assets/skills/performance-testing/schemas/output.json +1184 -0
- package/v3/assets/skills/performance-testing/scripts/validate.sh +1090 -0
- package/v3/assets/skills/qe-chaos-resilience/SKILL.md +6 -0
- package/v3/assets/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +443 -0
- package/v3/assets/skills/qe-chaos-resilience/schemas/output.json +314 -0
- package/v3/assets/skills/qe-chaos-resilience/scripts/validate.sh +401 -0
- package/v3/assets/skills/qe-code-intelligence/SKILL.md +6 -0
- package/v3/assets/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +459 -0
- package/v3/assets/skills/qe-code-intelligence/schemas/output.json +315 -0
- package/v3/assets/skills/qe-code-intelligence/scripts/validate.sh +408 -0
- package/v3/assets/skills/qe-contract-testing/SKILL.md +6 -0
- package/v3/assets/skills/qe-contract-testing/evals/qe-contract-testing.yaml +513 -0
- package/v3/assets/skills/qe-contract-testing/schemas/output.json +295 -0
- package/v3/assets/skills/qe-contract-testing/scripts/validate.sh +421 -0
- package/v3/assets/skills/qe-coverage-analysis/SKILL.md +6 -0
- package/v3/assets/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +494 -0
- package/v3/assets/skills/qe-coverage-analysis/schemas/output.json +286 -0
- package/v3/assets/skills/qe-coverage-analysis/scripts/validate.sh +453 -0
- package/v3/assets/skills/qe-defect-intelligence/SKILL.md +6 -0
- package/v3/assets/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +511 -0
- package/v3/assets/skills/qe-defect-intelligence/schemas/output.json +283 -0
- package/v3/assets/skills/qe-defect-intelligence/scripts/validate.sh +466 -0
- package/v3/assets/skills/qe-iterative-loop/SKILL.md +445 -443
- package/v3/assets/skills/qe-iterative-loop/schemas/output.json +264 -0
- package/v3/assets/skills/qe-iterative-loop/scripts/validate.sh +474 -0
- package/v3/assets/skills/qe-learning-optimization/SKILL.md +6 -0
- package/v3/assets/skills/qe-learning-optimization/evals/qe-learning-optimization.yaml +144 -0
- package/v3/assets/skills/qe-learning-optimization/schemas/output.json +288 -0
- package/v3/assets/skills/qe-learning-optimization/scripts/validate.sh +56 -0
- package/v3/assets/skills/qe-quality-assessment/SKILL.md +6 -0
- package/v3/assets/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +506 -0
- package/v3/assets/skills/qe-quality-assessment/schemas/output.json +550 -0
- package/v3/assets/skills/qe-quality-assessment/scripts/validate.sh +352 -0
- package/v3/assets/skills/qe-requirements-validation/SKILL.md +6 -0
- package/v3/assets/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +598 -0
- package/v3/assets/skills/qe-requirements-validation/schemas/output.json +587 -0
- package/v3/assets/skills/qe-requirements-validation/scripts/validate.sh +275 -0
- package/v3/assets/skills/qe-security-compliance/SKILL.md +6 -0
- package/v3/assets/skills/qe-security-compliance/evals/qe-security-compliance.yaml +595 -0
- package/v3/assets/skills/qe-security-compliance/schemas/output.json +498 -0
- package/v3/assets/skills/qe-security-compliance/scripts/validate.sh +305 -0
- package/v3/assets/skills/qe-test-execution/SKILL.md +6 -0
- package/v3/assets/skills/qe-test-execution/evals/qe-test-execution.yaml +607 -0
- package/v3/assets/skills/qe-test-execution/schemas/output.json +529 -0
- package/v3/assets/skills/qe-test-execution/scripts/validate.sh +323 -0
- package/v3/assets/skills/qe-test-generation/SKILL.md +6 -0
- package/v3/assets/skills/qe-test-generation/evals/qe-test-generation.yaml +148 -0
- package/v3/assets/skills/qe-test-generation/schemas/output.json +439 -0
- package/v3/assets/skills/qe-test-generation/scripts/validate.sh +56 -0
- package/v3/assets/skills/qe-visual-accessibility/SKILL.md +6 -0
- package/v3/assets/skills/qe-visual-accessibility/evals/qe-visual-accessibility.yaml +142 -0
- package/v3/assets/skills/qe-visual-accessibility/schemas/output.json +491 -0
- package/v3/assets/skills/qe-visual-accessibility/scripts/validate.sh +56 -0
- package/v3/assets/skills/quality-metrics/SKILL.md +6 -0
- package/v3/assets/skills/quality-metrics/evals/quality-metrics.yaml +494 -0
- package/v3/assets/skills/quality-metrics/schemas/output.json +403 -0
- package/v3/assets/skills/quality-metrics/scripts/validate.sh +434 -0
- package/v3/assets/skills/refactoring-patterns/SKILL.md +5 -0
- package/v3/assets/skills/refactoring-patterns/schemas/output.json +475 -0
- package/v3/assets/skills/refactoring-patterns/scripts/validate.sh +241 -0
- package/v3/assets/skills/regression-testing/SKILL.md +6 -0
- package/v3/assets/skills/regression-testing/evals/regression-testing.yaml +504 -0
- package/v3/assets/skills/regression-testing/schemas/output.json +311 -0
- package/v3/assets/skills/regression-testing/scripts/validate.sh +130 -0
- package/v3/assets/skills/risk-based-testing/SKILL.md +6 -0
- package/v3/assets/skills/risk-based-testing/evals/risk-based-testing.yaml +141 -0
- package/v3/assets/skills/risk-based-testing/schemas/output.json +480 -0
- package/v3/assets/skills/risk-based-testing/scripts/validate.sh +56 -0
- package/v3/assets/skills/security-testing/SKILL.md +5 -0
- package/v3/assets/skills/security-testing/evals/security-testing.yaml +789 -0
- package/v3/assets/skills/security-testing/schemas/output.json +879 -0
- package/v3/assets/skills/security-testing/scripts/validate.sh +967 -0
- package/v3/assets/skills/shift-left-testing/SKILL.md +6 -0
- package/v3/assets/skills/shift-left-testing/evals/shift-left-testing.yaml +145 -0
- package/v3/assets/skills/shift-left-testing/schemas/output.json +459 -0
- package/v3/assets/skills/shift-left-testing/scripts/validate.sh +56 -0
- package/v3/assets/skills/shift-right-testing/SKILL.md +6 -0
- package/v3/assets/skills/shift-right-testing/evals/shift-right-testing.yaml +147 -0
- package/v3/assets/skills/shift-right-testing/schemas/output.json +418 -0
- package/v3/assets/skills/shift-right-testing/scripts/validate.sh +56 -0
- package/v3/assets/skills/six-thinking-hats/SKILL.md +3 -0
- package/v3/assets/skills/tdd-london-chicago/SKILL.md +5 -0
- package/v3/assets/skills/tdd-london-chicago/schemas/output.json +444 -0
- package/v3/assets/skills/tdd-london-chicago/scripts/validate.sh +214 -0
- package/v3/assets/skills/technical-writing/SKILL.md +4 -0
- package/v3/assets/skills/technical-writing/schemas/output.json +268 -0
- package/v3/assets/skills/test-automation-strategy/SKILL.md +6 -0
- package/v3/assets/skills/test-automation-strategy/evals/test-automation-strategy.yaml +148 -0
- package/v3/assets/skills/test-automation-strategy/schemas/output.json +444 -0
- package/v3/assets/skills/test-automation-strategy/scripts/validate.sh +195 -0
- package/v3/assets/skills/test-data-management/SKILL.md +6 -0
- package/v3/assets/skills/test-data-management/evals/test-data-management.yaml +504 -0
- package/v3/assets/skills/test-data-management/schemas/output.json +284 -0
- package/v3/assets/skills/test-data-management/scripts/validate.sh +137 -0
- package/v3/assets/skills/test-design-techniques/SKILL.md +6 -0
- package/v3/assets/skills/test-design-techniques/evals/test-design-techniques.yaml +142 -0
- package/v3/assets/skills/test-design-techniques/schemas/output.json +295 -0
- package/v3/assets/skills/test-design-techniques/scripts/validate.sh +91 -0
- package/v3/assets/skills/test-environment-management/SKILL.md +4 -0
- package/v3/assets/skills/test-environment-management/schemas/output.json +310 -0
- package/v3/assets/skills/test-reporting-analytics/SKILL.md +6 -0
- package/v3/assets/skills/test-reporting-analytics/evals/test-reporting-analytics.yaml +155 -0
- package/v3/assets/skills/test-reporting-analytics/schemas/output.json +329 -0
- package/v3/assets/skills/test-reporting-analytics/scripts/validate.sh +77 -0
- package/v3/assets/skills/verification-quality/SKILL.md +6 -0
- package/v3/assets/skills/verification-quality/evals/verification-quality.yaml +150 -0
- package/v3/assets/skills/verification-quality/schemas/output.json +432 -0
- package/v3/assets/skills/verification-quality/scripts/validate.sh +77 -0
- package/v3/assets/skills/visual-testing-advanced/SKILL.md +6 -0
- package/v3/assets/skills/visual-testing-advanced/evals/visual-testing-advanced.yaml +154 -0
- package/v3/assets/skills/visual-testing-advanced/schemas/output.json +294 -0
- package/v3/assets/skills/visual-testing-advanced/scripts/validate.sh +77 -0
- package/v3/assets/skills/xp-practices/SKILL.md +3 -0
- package/v3/assets/templates/validation-report.md.hbs +139 -0
- package/v3/assets/templates/validation-summary.json +56 -0
- package/v3/dist/cli/bundle.js +11853 -5316
- package/v3/dist/cli/commands/eval.d.ts +18 -0
- package/v3/dist/cli/commands/eval.d.ts.map +1 -0
- package/v3/dist/cli/commands/eval.js +505 -0
- package/v3/dist/cli/commands/eval.js.map +1 -0
- package/v3/dist/cli/commands/validate-swarm.d.ts +16 -0
- package/v3/dist/cli/commands/validate-swarm.d.ts.map +1 -0
- package/v3/dist/cli/commands/validate-swarm.js +251 -0
- package/v3/dist/cli/commands/validate-swarm.js.map +1 -0
- package/v3/dist/cli/commands/validate.d.ts +14 -0
- package/v3/dist/cli/commands/validate.d.ts.map +1 -0
- package/v3/dist/cli/commands/validate.js +408 -0
- package/v3/dist/cli/commands/validate.js.map +1 -0
- package/v3/dist/cli/index.js +6 -0
- package/v3/dist/cli/index.js.map +1 -1
- package/v3/dist/index.d.ts +2 -0
- package/v3/dist/index.d.ts.map +1 -1
- package/v3/dist/index.js +10 -0
- package/v3/dist/index.js.map +1 -1
- package/v3/dist/init/skills-installer.d.ts +6 -0
- package/v3/dist/init/skills-installer.d.ts.map +1 -1
- package/v3/dist/init/skills-installer.js +48 -0
- package/v3/dist/init/skills-installer.js.map +1 -1
- package/v3/dist/learning/index.d.ts +2 -0
- package/v3/dist/learning/index.d.ts.map +1 -1
- package/v3/dist/learning/index.js +4 -0
- package/v3/dist/learning/index.js.map +1 -1
- package/v3/dist/learning/skill-validation-learner.d.ts +264 -0
- package/v3/dist/learning/skill-validation-learner.d.ts.map +1 -0
- package/v3/dist/learning/skill-validation-learner.js +515 -0
- package/v3/dist/learning/skill-validation-learner.js.map +1 -0
- package/v3/dist/mcp/bundle.js +10043 -3630
- package/v3/dist/validation/index.d.ts +19 -0
- package/v3/dist/validation/index.d.ts.map +1 -0
- package/v3/dist/validation/index.js +31 -0
- package/v3/dist/validation/index.js.map +1 -0
- package/v3/dist/validation/parallel-eval-runner.d.ts +307 -0
- package/v3/dist/validation/parallel-eval-runner.d.ts.map +1 -0
- package/v3/dist/validation/parallel-eval-runner.js +566 -0
- package/v3/dist/validation/parallel-eval-runner.js.map +1 -0
- package/v3/dist/validation/swarm-skill-validator.d.ts +282 -0
- package/v3/dist/validation/swarm-skill-validator.d.ts.map +1 -0
- package/v3/dist/validation/swarm-skill-validator.js +460 -0
- package/v3/dist/validation/swarm-skill-validator.js.map +1 -0
- package/v3/dist/validation/validation-result-aggregator.d.ts +232 -0
- package/v3/dist/validation/validation-result-aggregator.d.ts.map +1 -0
- package/v3/dist/validation/validation-result-aggregator.js +630 -0
- package/v3/dist/validation/validation-result-aggregator.js.map +1 -0
- package/v3/package.json +1 -1
|
@@ -0,0 +1,845 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentic-qe.dev/schemas/skills/api-testing-patterns/output.json",
|
|
4
|
+
"title": "API Testing Patterns Skill Output Schema",
|
|
5
|
+
"description": "Schema for API testing patterns skill output. Extends the base skill-output template with API-specific structures for contract, integration, component, and load testing.",
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"$comment": "Base schema structure from skill-output.template.json",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"required": ["skillName", "version", "timestamp", "status", "trustTier", "output"],
|
|
11
|
+
"properties": {
|
|
12
|
+
"skillName": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"const": "api-testing-patterns"
|
|
15
|
+
},
|
|
16
|
+
"version": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+(-[a-zA-Z0-9]+)?$"
|
|
19
|
+
},
|
|
20
|
+
"timestamp": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "date-time"
|
|
23
|
+
},
|
|
24
|
+
"status": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": ["success", "partial", "failed", "skipped"]
|
|
27
|
+
},
|
|
28
|
+
"trustTier": {
|
|
29
|
+
"type": "integer",
|
|
30
|
+
"minimum": 0,
|
|
31
|
+
"maximum": 3
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"properties": {
|
|
37
|
+
"output": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"required": ["summary", "testingLevel", "endpointCoverage"],
|
|
40
|
+
"properties": {
|
|
41
|
+
"summary": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"minLength": 10,
|
|
44
|
+
"maxLength": 2000,
|
|
45
|
+
"description": "Human-readable summary of API testing analysis"
|
|
46
|
+
},
|
|
47
|
+
"testingLevel": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": ["contract", "component", "integration", "e2e", "load", "mixed"],
|
|
50
|
+
"description": "Primary API testing level recommended"
|
|
51
|
+
},
|
|
52
|
+
"apiType": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": ["rest", "graphql", "grpc", "websocket", "mixed"],
|
|
55
|
+
"description": "Type of API being tested"
|
|
56
|
+
},
|
|
57
|
+
"endpointCoverage": {
|
|
58
|
+
"$ref": "#/$defs/endpointCoverage",
|
|
59
|
+
"description": "Coverage analysis for API endpoints"
|
|
60
|
+
},
|
|
61
|
+
"testRecommendations": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"items": {
|
|
64
|
+
"$ref": "#/$defs/testRecommendation"
|
|
65
|
+
},
|
|
66
|
+
"maxItems": 50,
|
|
67
|
+
"description": "Recommended API tests to implement"
|
|
68
|
+
},
|
|
69
|
+
"contractTests": {
|
|
70
|
+
"$ref": "#/$defs/contractTestSuite",
|
|
71
|
+
"description": "Contract testing specifications"
|
|
72
|
+
},
|
|
73
|
+
"integrationTests": {
|
|
74
|
+
"$ref": "#/$defs/integrationTestSuite",
|
|
75
|
+
"description": "Integration testing specifications"
|
|
76
|
+
},
|
|
77
|
+
"componentTests": {
|
|
78
|
+
"$ref": "#/$defs/componentTestSuite",
|
|
79
|
+
"description": "Component testing specifications"
|
|
80
|
+
},
|
|
81
|
+
"loadTests": {
|
|
82
|
+
"$ref": "#/$defs/loadTestSuite",
|
|
83
|
+
"description": "Load/performance testing specifications"
|
|
84
|
+
},
|
|
85
|
+
"securityTests": {
|
|
86
|
+
"$ref": "#/$defs/securityTestSuite",
|
|
87
|
+
"description": "API security testing specifications"
|
|
88
|
+
},
|
|
89
|
+
"mockConfigurations": {
|
|
90
|
+
"type": "array",
|
|
91
|
+
"items": {
|
|
92
|
+
"$ref": "#/$defs/mockConfiguration"
|
|
93
|
+
},
|
|
94
|
+
"maxItems": 100,
|
|
95
|
+
"description": "Mock/stub configurations for testing"
|
|
96
|
+
},
|
|
97
|
+
"findings": {
|
|
98
|
+
"type": "array",
|
|
99
|
+
"items": {
|
|
100
|
+
"$ref": "#/$defs/apiFinding"
|
|
101
|
+
},
|
|
102
|
+
"maxItems": 200,
|
|
103
|
+
"description": "API testing gaps and issues found"
|
|
104
|
+
},
|
|
105
|
+
"recommendations": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"$ref": "#/$defs/recommendation"
|
|
109
|
+
},
|
|
110
|
+
"maxItems": 50,
|
|
111
|
+
"description": "Actionable recommendations for API testing improvement"
|
|
112
|
+
},
|
|
113
|
+
"metrics": {
|
|
114
|
+
"$ref": "#/$defs/apiMetrics",
|
|
115
|
+
"description": "Quantitative API testing metrics"
|
|
116
|
+
},
|
|
117
|
+
"categories": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"additionalProperties": {
|
|
120
|
+
"$ref": "#/$defs/categoryScore"
|
|
121
|
+
},
|
|
122
|
+
"description": "Scores by API testing category"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"metadata": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {
|
|
129
|
+
"executionTimeMs": {
|
|
130
|
+
"type": "integer",
|
|
131
|
+
"minimum": 0
|
|
132
|
+
},
|
|
133
|
+
"toolsUsed": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"items": { "type": "string" }
|
|
136
|
+
},
|
|
137
|
+
"agentId": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"pattern": "^qe-[a-z][a-z0-9-]*$"
|
|
140
|
+
},
|
|
141
|
+
"apiSpecPath": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"description": "Path to OpenAPI/GraphQL spec analyzed"
|
|
144
|
+
},
|
|
145
|
+
"consumers": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"items": { "type": "string" },
|
|
148
|
+
"description": "Consumer services for contract testing"
|
|
149
|
+
},
|
|
150
|
+
"providers": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"items": { "type": "string" },
|
|
153
|
+
"description": "Provider services for contract testing"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"validation": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"properties": {
|
|
160
|
+
"schemaValid": { "type": "boolean" },
|
|
161
|
+
"contentValid": { "type": "boolean" },
|
|
162
|
+
"confidence": {
|
|
163
|
+
"type": "number",
|
|
164
|
+
"minimum": 0,
|
|
165
|
+
"maximum": 1
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"learning": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"properties": {
|
|
172
|
+
"patternsDetected": {
|
|
173
|
+
"type": "array",
|
|
174
|
+
"items": { "type": "string" }
|
|
175
|
+
},
|
|
176
|
+
"reward": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"minimum": 0,
|
|
179
|
+
"maximum": 1
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"$defs": {
|
|
185
|
+
"endpointCoverage": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"description": "API endpoint coverage analysis",
|
|
188
|
+
"required": ["totalEndpoints", "coveredEndpoints"],
|
|
189
|
+
"properties": {
|
|
190
|
+
"totalEndpoints": {
|
|
191
|
+
"type": "integer",
|
|
192
|
+
"minimum": 0,
|
|
193
|
+
"description": "Total number of API endpoints"
|
|
194
|
+
},
|
|
195
|
+
"coveredEndpoints": {
|
|
196
|
+
"type": "integer",
|
|
197
|
+
"minimum": 0,
|
|
198
|
+
"description": "Number of endpoints with test coverage"
|
|
199
|
+
},
|
|
200
|
+
"coveragePercentage": {
|
|
201
|
+
"type": "number",
|
|
202
|
+
"minimum": 0,
|
|
203
|
+
"maximum": 100,
|
|
204
|
+
"description": "Percentage of endpoints with coverage"
|
|
205
|
+
},
|
|
206
|
+
"byHttpMethod": {
|
|
207
|
+
"$ref": "#/$defs/httpMethodCoverage"
|
|
208
|
+
},
|
|
209
|
+
"byStatusCode": {
|
|
210
|
+
"$ref": "#/$defs/statusCodeCoverage"
|
|
211
|
+
},
|
|
212
|
+
"uncoveredEndpoints": {
|
|
213
|
+
"type": "array",
|
|
214
|
+
"items": {
|
|
215
|
+
"$ref": "#/$defs/endpoint"
|
|
216
|
+
},
|
|
217
|
+
"description": "List of endpoints without coverage"
|
|
218
|
+
},
|
|
219
|
+
"partiallyCoveredEndpoints": {
|
|
220
|
+
"type": "array",
|
|
221
|
+
"items": {
|
|
222
|
+
"$ref": "#/$defs/endpoint"
|
|
223
|
+
},
|
|
224
|
+
"description": "Endpoints with incomplete coverage"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"httpMethodCoverage": {
|
|
229
|
+
"type": "object",
|
|
230
|
+
"description": "Coverage breakdown by HTTP method",
|
|
231
|
+
"properties": {
|
|
232
|
+
"GET": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
233
|
+
"POST": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
234
|
+
"PUT": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
235
|
+
"PATCH": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
236
|
+
"DELETE": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
237
|
+
"OPTIONS": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
238
|
+
"HEAD": { "$ref": "#/$defs/methodCoverageDetail" }
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"methodCoverageDetail": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"properties": {
|
|
244
|
+
"total": { "type": "integer", "minimum": 0 },
|
|
245
|
+
"covered": { "type": "integer", "minimum": 0 },
|
|
246
|
+
"percentage": { "type": "number", "minimum": 0, "maximum": 100 }
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"statusCodeCoverage": {
|
|
250
|
+
"type": "object",
|
|
251
|
+
"description": "Coverage breakdown by HTTP status code category",
|
|
252
|
+
"properties": {
|
|
253
|
+
"2xx": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
254
|
+
"3xx": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
255
|
+
"4xx": { "$ref": "#/$defs/methodCoverageDetail" },
|
|
256
|
+
"5xx": { "$ref": "#/$defs/methodCoverageDetail" }
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"endpoint": {
|
|
260
|
+
"type": "object",
|
|
261
|
+
"description": "API endpoint definition",
|
|
262
|
+
"required": ["method", "path"],
|
|
263
|
+
"properties": {
|
|
264
|
+
"method": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"enum": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"]
|
|
267
|
+
},
|
|
268
|
+
"path": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"pattern": "^/.*$",
|
|
271
|
+
"description": "API endpoint path"
|
|
272
|
+
},
|
|
273
|
+
"operationId": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"description": "OpenAPI operationId"
|
|
276
|
+
},
|
|
277
|
+
"summary": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"description": "Endpoint description"
|
|
280
|
+
},
|
|
281
|
+
"tags": {
|
|
282
|
+
"type": "array",
|
|
283
|
+
"items": { "type": "string" }
|
|
284
|
+
},
|
|
285
|
+
"parameters": {
|
|
286
|
+
"type": "array",
|
|
287
|
+
"items": {
|
|
288
|
+
"$ref": "#/$defs/parameter"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"requestBody": {
|
|
292
|
+
"$ref": "#/$defs/requestBody"
|
|
293
|
+
},
|
|
294
|
+
"responses": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"additionalProperties": {
|
|
297
|
+
"$ref": "#/$defs/response"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"security": {
|
|
301
|
+
"type": "array",
|
|
302
|
+
"items": { "type": "object" }
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"parameter": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"required": ["name", "in"],
|
|
309
|
+
"properties": {
|
|
310
|
+
"name": { "type": "string" },
|
|
311
|
+
"in": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"enum": ["query", "path", "header", "cookie"]
|
|
314
|
+
},
|
|
315
|
+
"required": { "type": "boolean" },
|
|
316
|
+
"schema": { "type": "object" }
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"requestBody": {
|
|
320
|
+
"type": "object",
|
|
321
|
+
"properties": {
|
|
322
|
+
"required": { "type": "boolean" },
|
|
323
|
+
"contentType": { "type": "string" },
|
|
324
|
+
"schema": { "type": "object" }
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"response": {
|
|
328
|
+
"type": "object",
|
|
329
|
+
"properties": {
|
|
330
|
+
"statusCode": { "type": "integer" },
|
|
331
|
+
"description": { "type": "string" },
|
|
332
|
+
"contentType": { "type": "string" },
|
|
333
|
+
"schema": { "type": "object" }
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"testRecommendation": {
|
|
337
|
+
"type": "object",
|
|
338
|
+
"description": "Recommended API test to implement",
|
|
339
|
+
"required": ["id", "testType", "endpoint", "description"],
|
|
340
|
+
"properties": {
|
|
341
|
+
"id": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"pattern": "^API-\\d{3,6}$",
|
|
344
|
+
"description": "Recommendation ID"
|
|
345
|
+
},
|
|
346
|
+
"testType": {
|
|
347
|
+
"type": "string",
|
|
348
|
+
"enum": ["contract", "integration", "component", "load", "security", "e2e"],
|
|
349
|
+
"description": "Type of test recommended"
|
|
350
|
+
},
|
|
351
|
+
"endpoint": {
|
|
352
|
+
"$ref": "#/$defs/endpoint"
|
|
353
|
+
},
|
|
354
|
+
"description": {
|
|
355
|
+
"type": "string",
|
|
356
|
+
"maxLength": 500
|
|
357
|
+
},
|
|
358
|
+
"priority": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"enum": ["critical", "high", "medium", "low"]
|
|
361
|
+
},
|
|
362
|
+
"scenarios": {
|
|
363
|
+
"type": "array",
|
|
364
|
+
"items": {
|
|
365
|
+
"$ref": "#/$defs/testScenario"
|
|
366
|
+
},
|
|
367
|
+
"description": "Specific test scenarios to implement"
|
|
368
|
+
},
|
|
369
|
+
"codeExample": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"maxLength": 5000,
|
|
372
|
+
"description": "Example test code"
|
|
373
|
+
},
|
|
374
|
+
"framework": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"enum": ["supertest", "pact", "rest-assured", "playwright", "k6", "artillery", "jest", "mocha", "vitest"],
|
|
377
|
+
"description": "Recommended testing framework"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"testScenario": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"description": "Specific test scenario",
|
|
384
|
+
"required": ["name", "category"],
|
|
385
|
+
"properties": {
|
|
386
|
+
"name": {
|
|
387
|
+
"type": "string"
|
|
388
|
+
},
|
|
389
|
+
"category": {
|
|
390
|
+
"type": "string",
|
|
391
|
+
"enum": ["happy-path", "error-handling", "auth", "validation", "idempotency", "concurrency", "rate-limiting", "pagination", "filtering", "sorting"]
|
|
392
|
+
},
|
|
393
|
+
"description": {
|
|
394
|
+
"type": "string"
|
|
395
|
+
},
|
|
396
|
+
"expectedStatusCode": {
|
|
397
|
+
"type": "integer"
|
|
398
|
+
},
|
|
399
|
+
"input": {
|
|
400
|
+
"type": "object"
|
|
401
|
+
},
|
|
402
|
+
"assertions": {
|
|
403
|
+
"type": "array",
|
|
404
|
+
"items": { "type": "string" }
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"contractTestSuite": {
|
|
409
|
+
"type": "object",
|
|
410
|
+
"description": "Contract testing specifications",
|
|
411
|
+
"properties": {
|
|
412
|
+
"framework": {
|
|
413
|
+
"type": "string",
|
|
414
|
+
"enum": ["pact", "spring-cloud-contract", "prism", "custom"]
|
|
415
|
+
},
|
|
416
|
+
"consumers": {
|
|
417
|
+
"type": "array",
|
|
418
|
+
"items": {
|
|
419
|
+
"$ref": "#/$defs/consumer"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"providers": {
|
|
423
|
+
"type": "array",
|
|
424
|
+
"items": {
|
|
425
|
+
"$ref": "#/$defs/provider"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"contracts": {
|
|
429
|
+
"type": "array",
|
|
430
|
+
"items": {
|
|
431
|
+
"$ref": "#/$defs/contract"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"breakingChanges": {
|
|
435
|
+
"type": "array",
|
|
436
|
+
"items": {
|
|
437
|
+
"$ref": "#/$defs/breakingChange"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"canIDeploy": {
|
|
441
|
+
"type": "boolean",
|
|
442
|
+
"description": "Whether deployment is safe based on contract verification"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"consumer": {
|
|
447
|
+
"type": "object",
|
|
448
|
+
"required": ["name"],
|
|
449
|
+
"properties": {
|
|
450
|
+
"name": { "type": "string" },
|
|
451
|
+
"version": { "type": "string" },
|
|
452
|
+
"contractVersion": { "type": "string" }
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"provider": {
|
|
456
|
+
"type": "object",
|
|
457
|
+
"required": ["name"],
|
|
458
|
+
"properties": {
|
|
459
|
+
"name": { "type": "string" },
|
|
460
|
+
"version": { "type": "string" },
|
|
461
|
+
"verificationStatus": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"enum": ["passed", "failed", "pending"]
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"contract": {
|
|
468
|
+
"type": "object",
|
|
469
|
+
"description": "Consumer-provider contract",
|
|
470
|
+
"required": ["consumer", "provider"],
|
|
471
|
+
"properties": {
|
|
472
|
+
"consumer": { "type": "string" },
|
|
473
|
+
"provider": { "type": "string" },
|
|
474
|
+
"interactions": {
|
|
475
|
+
"type": "array",
|
|
476
|
+
"items": {
|
|
477
|
+
"$ref": "#/$defs/interaction"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"status": {
|
|
481
|
+
"type": "string",
|
|
482
|
+
"enum": ["verified", "failed", "pending"]
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"interaction": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"description": "Contract interaction",
|
|
489
|
+
"required": ["description", "request", "response"],
|
|
490
|
+
"properties": {
|
|
491
|
+
"description": { "type": "string" },
|
|
492
|
+
"request": {
|
|
493
|
+
"type": "object",
|
|
494
|
+
"properties": {
|
|
495
|
+
"method": { "type": "string" },
|
|
496
|
+
"path": { "type": "string" },
|
|
497
|
+
"headers": { "type": "object" },
|
|
498
|
+
"body": {}
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"response": {
|
|
502
|
+
"type": "object",
|
|
503
|
+
"properties": {
|
|
504
|
+
"status": { "type": "integer" },
|
|
505
|
+
"headers": { "type": "object" },
|
|
506
|
+
"body": {}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"breakingChange": {
|
|
512
|
+
"type": "object",
|
|
513
|
+
"description": "Breaking change detected in API",
|
|
514
|
+
"required": ["type", "description", "severity"],
|
|
515
|
+
"properties": {
|
|
516
|
+
"type": {
|
|
517
|
+
"type": "string",
|
|
518
|
+
"enum": ["removed-endpoint", "removed-field", "type-change", "required-field-added", "response-change", "status-code-change"]
|
|
519
|
+
},
|
|
520
|
+
"description": { "type": "string" },
|
|
521
|
+
"severity": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"enum": ["critical", "high", "medium", "low"]
|
|
524
|
+
},
|
|
525
|
+
"affectedConsumers": {
|
|
526
|
+
"type": "array",
|
|
527
|
+
"items": { "type": "string" }
|
|
528
|
+
},
|
|
529
|
+
"migrationPath": {
|
|
530
|
+
"type": "string"
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"integrationTestSuite": {
|
|
535
|
+
"type": "object",
|
|
536
|
+
"description": "Integration testing specifications",
|
|
537
|
+
"properties": {
|
|
538
|
+
"framework": {
|
|
539
|
+
"type": "string",
|
|
540
|
+
"enum": ["supertest", "rest-assured", "playwright", "jest", "mocha", "vitest"]
|
|
541
|
+
},
|
|
542
|
+
"tests": {
|
|
543
|
+
"type": "array",
|
|
544
|
+
"items": {
|
|
545
|
+
"$ref": "#/$defs/integrationTest"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"dependencies": {
|
|
549
|
+
"type": "array",
|
|
550
|
+
"items": { "type": "string" },
|
|
551
|
+
"description": "External dependencies required (databases, services)"
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"integrationTest": {
|
|
556
|
+
"type": "object",
|
|
557
|
+
"required": ["name", "endpoint"],
|
|
558
|
+
"properties": {
|
|
559
|
+
"name": { "type": "string" },
|
|
560
|
+
"endpoint": { "$ref": "#/$defs/endpoint" },
|
|
561
|
+
"setup": { "type": "string" },
|
|
562
|
+
"teardown": { "type": "string" },
|
|
563
|
+
"assertions": {
|
|
564
|
+
"type": "array",
|
|
565
|
+
"items": { "type": "string" }
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"componentTestSuite": {
|
|
570
|
+
"type": "object",
|
|
571
|
+
"description": "Component testing specifications",
|
|
572
|
+
"properties": {
|
|
573
|
+
"framework": {
|
|
574
|
+
"type": "string"
|
|
575
|
+
},
|
|
576
|
+
"mocks": {
|
|
577
|
+
"type": "array",
|
|
578
|
+
"items": {
|
|
579
|
+
"$ref": "#/$defs/mockConfiguration"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"tests": {
|
|
583
|
+
"type": "array",
|
|
584
|
+
"items": {
|
|
585
|
+
"$ref": "#/$defs/componentTest"
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
"componentTest": {
|
|
591
|
+
"type": "object",
|
|
592
|
+
"required": ["name"],
|
|
593
|
+
"properties": {
|
|
594
|
+
"name": { "type": "string" },
|
|
595
|
+
"component": { "type": "string" },
|
|
596
|
+
"isolatedDependencies": {
|
|
597
|
+
"type": "array",
|
|
598
|
+
"items": { "type": "string" }
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"loadTestSuite": {
|
|
603
|
+
"type": "object",
|
|
604
|
+
"description": "Load/performance testing specifications",
|
|
605
|
+
"properties": {
|
|
606
|
+
"framework": {
|
|
607
|
+
"type": "string",
|
|
608
|
+
"enum": ["k6", "artillery", "jmeter", "locust", "gatling"]
|
|
609
|
+
},
|
|
610
|
+
"scenarios": {
|
|
611
|
+
"type": "array",
|
|
612
|
+
"items": {
|
|
613
|
+
"$ref": "#/$defs/loadScenario"
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"thresholds": {
|
|
617
|
+
"$ref": "#/$defs/performanceThresholds"
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
"loadScenario": {
|
|
622
|
+
"type": "object",
|
|
623
|
+
"required": ["name", "endpoint"],
|
|
624
|
+
"properties": {
|
|
625
|
+
"name": { "type": "string" },
|
|
626
|
+
"endpoint": { "$ref": "#/$defs/endpoint" },
|
|
627
|
+
"vus": {
|
|
628
|
+
"type": "integer",
|
|
629
|
+
"description": "Virtual users"
|
|
630
|
+
},
|
|
631
|
+
"duration": {
|
|
632
|
+
"type": "string",
|
|
633
|
+
"description": "Test duration (e.g., '5m', '1h')"
|
|
634
|
+
},
|
|
635
|
+
"rps": {
|
|
636
|
+
"type": "integer",
|
|
637
|
+
"description": "Requests per second target"
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"performanceThresholds": {
|
|
642
|
+
"type": "object",
|
|
643
|
+
"properties": {
|
|
644
|
+
"p95ResponseTime": {
|
|
645
|
+
"type": "integer",
|
|
646
|
+
"description": "95th percentile response time in ms"
|
|
647
|
+
},
|
|
648
|
+
"p99ResponseTime": {
|
|
649
|
+
"type": "integer",
|
|
650
|
+
"description": "99th percentile response time in ms"
|
|
651
|
+
},
|
|
652
|
+
"errorRate": {
|
|
653
|
+
"type": "number",
|
|
654
|
+
"minimum": 0,
|
|
655
|
+
"maximum": 100,
|
|
656
|
+
"description": "Maximum error rate percentage"
|
|
657
|
+
},
|
|
658
|
+
"throughput": {
|
|
659
|
+
"type": "integer",
|
|
660
|
+
"description": "Minimum throughput (requests/second)"
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
"securityTestSuite": {
|
|
665
|
+
"type": "object",
|
|
666
|
+
"description": "API security testing specifications",
|
|
667
|
+
"properties": {
|
|
668
|
+
"authTests": {
|
|
669
|
+
"type": "array",
|
|
670
|
+
"items": {
|
|
671
|
+
"$ref": "#/$defs/authTest"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"inputValidationTests": {
|
|
675
|
+
"type": "array",
|
|
676
|
+
"items": {
|
|
677
|
+
"$ref": "#/$defs/inputValidationTest"
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"rateLimitingTests": {
|
|
681
|
+
"type": "array",
|
|
682
|
+
"items": { "type": "object" }
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"authTest": {
|
|
687
|
+
"type": "object",
|
|
688
|
+
"required": ["name", "scenario"],
|
|
689
|
+
"properties": {
|
|
690
|
+
"name": { "type": "string" },
|
|
691
|
+
"scenario": {
|
|
692
|
+
"type": "string",
|
|
693
|
+
"enum": ["missing-token", "expired-token", "invalid-token", "wrong-scope", "cross-user-access"]
|
|
694
|
+
},
|
|
695
|
+
"expectedStatusCode": {
|
|
696
|
+
"type": "integer"
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
"inputValidationTest": {
|
|
701
|
+
"type": "object",
|
|
702
|
+
"required": ["name", "validationType"],
|
|
703
|
+
"properties": {
|
|
704
|
+
"name": { "type": "string" },
|
|
705
|
+
"validationType": {
|
|
706
|
+
"type": "string",
|
|
707
|
+
"enum": ["missing-required", "wrong-type", "out-of-range", "invalid-format", "sql-injection", "xss"]
|
|
708
|
+
},
|
|
709
|
+
"expectedStatusCode": {
|
|
710
|
+
"type": "integer"
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"mockConfiguration": {
|
|
715
|
+
"type": "object",
|
|
716
|
+
"description": "Mock/stub configuration",
|
|
717
|
+
"required": ["name", "type"],
|
|
718
|
+
"properties": {
|
|
719
|
+
"name": { "type": "string" },
|
|
720
|
+
"type": {
|
|
721
|
+
"type": "string",
|
|
722
|
+
"enum": ["wiremock", "pact", "msw", "nock", "prism", "custom"]
|
|
723
|
+
},
|
|
724
|
+
"endpoint": { "$ref": "#/$defs/endpoint" },
|
|
725
|
+
"responses": {
|
|
726
|
+
"type": "array",
|
|
727
|
+
"items": {
|
|
728
|
+
"type": "object",
|
|
729
|
+
"properties": {
|
|
730
|
+
"statusCode": { "type": "integer" },
|
|
731
|
+
"body": {},
|
|
732
|
+
"headers": { "type": "object" }
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"apiFinding": {
|
|
739
|
+
"type": "object",
|
|
740
|
+
"description": "API testing finding/issue",
|
|
741
|
+
"required": ["id", "title", "severity", "category"],
|
|
742
|
+
"properties": {
|
|
743
|
+
"id": {
|
|
744
|
+
"type": "string",
|
|
745
|
+
"pattern": "^API-\\d{3,6}$"
|
|
746
|
+
},
|
|
747
|
+
"title": {
|
|
748
|
+
"type": "string",
|
|
749
|
+
"minLength": 5,
|
|
750
|
+
"maxLength": 200
|
|
751
|
+
},
|
|
752
|
+
"description": {
|
|
753
|
+
"type": "string",
|
|
754
|
+
"maxLength": 2000
|
|
755
|
+
},
|
|
756
|
+
"severity": {
|
|
757
|
+
"type": "string",
|
|
758
|
+
"enum": ["critical", "high", "medium", "low", "info"]
|
|
759
|
+
},
|
|
760
|
+
"category": {
|
|
761
|
+
"type": "string",
|
|
762
|
+
"enum": ["coverage-gap", "contract-violation", "auth-issue", "validation-gap", "performance-risk", "documentation-mismatch"]
|
|
763
|
+
},
|
|
764
|
+
"endpoint": {
|
|
765
|
+
"$ref": "#/$defs/endpoint"
|
|
766
|
+
},
|
|
767
|
+
"remediation": {
|
|
768
|
+
"type": "string"
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
"recommendation": {
|
|
773
|
+
"type": "object",
|
|
774
|
+
"required": ["id", "title", "priority"],
|
|
775
|
+
"properties": {
|
|
776
|
+
"id": {
|
|
777
|
+
"type": "string",
|
|
778
|
+
"pattern": "^REC-\\d{3,6}$"
|
|
779
|
+
},
|
|
780
|
+
"title": {
|
|
781
|
+
"type": "string",
|
|
782
|
+
"maxLength": 200
|
|
783
|
+
},
|
|
784
|
+
"description": {
|
|
785
|
+
"type": "string",
|
|
786
|
+
"maxLength": 2000
|
|
787
|
+
},
|
|
788
|
+
"priority": {
|
|
789
|
+
"type": "string",
|
|
790
|
+
"enum": ["critical", "high", "medium", "low"]
|
|
791
|
+
},
|
|
792
|
+
"effort": {
|
|
793
|
+
"type": "string",
|
|
794
|
+
"enum": ["trivial", "low", "medium", "high", "major"]
|
|
795
|
+
},
|
|
796
|
+
"codeExample": {
|
|
797
|
+
"type": "string",
|
|
798
|
+
"maxLength": 5000
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"apiMetrics": {
|
|
803
|
+
"type": "object",
|
|
804
|
+
"description": "API testing metrics",
|
|
805
|
+
"properties": {
|
|
806
|
+
"totalEndpoints": { "type": "integer", "minimum": 0 },
|
|
807
|
+
"coveredEndpoints": { "type": "integer", "minimum": 0 },
|
|
808
|
+
"contractsCovered": { "type": "integer", "minimum": 0 },
|
|
809
|
+
"integrationTestCount": { "type": "integer", "minimum": 0 },
|
|
810
|
+
"componentTestCount": { "type": "integer", "minimum": 0 },
|
|
811
|
+
"loadTestCount": { "type": "integer", "minimum": 0 },
|
|
812
|
+
"securityTestCount": { "type": "integer", "minimum": 0 },
|
|
813
|
+
"coveragePercentage": {
|
|
814
|
+
"type": "number",
|
|
815
|
+
"minimum": 0,
|
|
816
|
+
"maximum": 100
|
|
817
|
+
},
|
|
818
|
+
"duration": { "type": "integer", "minimum": 0 }
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"categoryScore": {
|
|
822
|
+
"type": "object",
|
|
823
|
+
"required": ["score"],
|
|
824
|
+
"properties": {
|
|
825
|
+
"score": {
|
|
826
|
+
"type": "number",
|
|
827
|
+
"minimum": 0,
|
|
828
|
+
"maximum": 100
|
|
829
|
+
},
|
|
830
|
+
"weight": {
|
|
831
|
+
"type": "number",
|
|
832
|
+
"minimum": 0,
|
|
833
|
+
"maximum": 1
|
|
834
|
+
},
|
|
835
|
+
"description": {
|
|
836
|
+
"type": "string"
|
|
837
|
+
},
|
|
838
|
+
"grade": {
|
|
839
|
+
"type": "string",
|
|
840
|
+
"pattern": "^[A-F][+-]?$"
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
}
|