wso2 / wso2/api-platform

Add taxonomy annotations and validate @cap/@feat cardinality in product scenarios

Open
#3,406 0 comments 0 reactions 2 assignees View on GitHub

@Krishanx92 is already working on this.

Since Sep 9, 2026.

Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Summary

Introduce taxonomy annotations for all checked-in product .feature scenarios. Then enforce annotation cardinality in the integration framework standards checker.

Rationale

The current suite has no consistent use of @cap and @feat tags. Enforcing the rule now would fail all existing product scenarios. The annotation rollout must complete before standards-check rejects missing or duplicate tags.

Affected areas

  • tests/framework/suites/it/features/**/*.feature
  • tests/framework/suites/ui/features/**/*.feature
  • tests/framework/cmd/standards/main.go, specifically checkFeatures

Required changes

  1. Define and apply exactly one @cap tag and one @feat tag to every product scenario.
  2. Update checkFeatures to parse scenario boundaries.
  3. Make checkFeatures reject product scenarios with zero or multiple @cap tags.
  4. Make checkFeatures reject product scenarios with zero or multiple @feat tags.
  5. Preserve the existing feature validation checks.

Acceptance criteria

  • Every checked-in product scenario has exactly one @cap tag and exactly one @feat tag.
  • standards-check reports missing and duplicate taxonomy annotations per scenario.
  • Existing feature validation remains active.
  • Tests cover valid, missing, and duplicate annotations.

Backlinks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.