chore: enforce explicit API visibility decisions - #887
Open
Aniruddha-Shriwant wants to merge 5 commits into
Open
chore: enforce explicit API visibility decisions#887Aniruddha-Shriwant wants to merge 5 commits into
Aniruddha-Shriwant wants to merge 5 commits into
Conversation
Aniruddha-Shriwant
force-pushed
the
chore/enforce-operation-visibility-marker
branch
from
September 9, 2026 12:40
065b874 to
f9aa197
Compare
Aniruddha-Shriwant
changed the base branch from
main
to
chore/backfill-operation-visibility
September 9, 2026 12:40
Aniruddha-Shriwant
force-pushed
the
chore/enforce-operation-visibility-marker
branch
from
September 10, 2026 04:26
f2d2baa to
fe5502d
Compare
Aniruddha-Shriwant
changed the base branch from
chore/backfill-operation-visibility
to
main
September 10, 2026 04:30
Aniruddha-Shriwant
force-pushed
the
chore/enforce-operation-visibility-marker
branch
from
September 10, 2026 04:35
1289826 to
fe5502d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a native Redocly configurable rule requiring every OpenAPI Operation Object to explicitly set
x-internalto the boolean valuetrueorfalse.The Redocly configuration declares all 11 role roots, so local hooks, manual validation, and CI use one command with no custom JavaScript plugin, changed-file wrapper, or repository-owned rule test harness:
The tracked
dev/githooks/pre-commithook runs this command when a commit contains staged OpenAPI YAML changes. Developers enable the repository hooks once with:Validation
visibility-lintwith the same missing-marker error and exit code 1mainis limited to the Redocly config, CI workflow, tracked Git hook, and READMERepository follow-up
After this workflow lands and produces its first status on
main, add thevisibility-lintjob to the required status checks.Clickup
app.clickup.com