APIMGMT-2097: updated linter to match new API versioning strategy#73
Open
ben-godin-sp wants to merge 1 commit into
Open
APIMGMT-2097: updated linter to match new API versioning strategy#73ben-godin-sp wants to merge 1 commit into
ben-godin-sp wants to merge 1 commit into
Conversation
Linting ReportLast updated: 6/17/2026, 10:07:07 AM Found 21 total issues:
OpenAPI Specs❌ Invalid Ref (8)
❌ Paths Must Not Reference Documents Outside Of Their Version (2)
❌ Root Tags Must Be In Alphabetical Order (1)
Gateway❌ Gateway Route Back Off Config Enabled Must Be Boolean (1)
❌ Gateway Route Back Off Config Integer Fields Must Be Positive (2)❌ Gateway Route Back Off Config Must Have Valid Properties (1)
❌ Gateway Route Back Off Config Tiers Must Be Valid (1)
❌ Gateway Route Id And Path Must Have Matching Version (3)
❌ Gateway Route Must Have Version In Id (1)
❌ Gateway Route Path Must Start With Strip Prefix Path (1)
|
tyler-mairose-sp
approved these changes
Jun 17, 2026
victor-mancera-sp
approved these changes
Jun 17, 2026
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.
I commented out the yearly-versioned checks in case we need to re-enable them in the next few days.
Manual Testing
I created some bad routes in sp-gateway-routes.yaml to generate these linter errors:
