Skip to content

[BWC and API enforcement] Enforcing the presence of API annotations at build time #12871

@reta

Description

@reta

Is your feature request related to a problem? Please describe

The introduction of #9304 allows to annotate every publicly exposed API with visibility annotation. The checks were running for a while now but they only warned about violations.

Describe the solution you'd like

The large chunk of APIs is already annotated and the checks are passing without any violations. It makes sense to make them mandatory (and fail with error) if API visibility violations are detected.

Related component

Other

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

OtherenhancementEnhancement or improvement to existing feature or requestv2.14.0v3.0.0Issues and PRs related to version 3.0.0

Type

No type

Projects

Status

Planned work items

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions