Skip to content

fix(ETU-76205): Better error messages for lint issues in x-entur-permissions - #120

Merged
egrimstad merged 1 commit into
mainfrom
fix/ETU-76205_schema-error
Aug 27, 2026
Merged

fix(ETU-76205): Better error messages for lint issues in x-entur-permissions#120
egrimstad merged 1 commit into
mainfrom
fix/ETU-76205_schema-error

Conversation

@egrimstad

@egrimstad egrimstad commented Aug 26, 2026

Copy link
Copy Markdown
Contributor
  • Implement linting of x-entur-permissions using a custom function, instead of the schema function. This is much more flexible.
  • Make validation of operation name case-insensitive, so that permission values like "LES" are allowed.

@egrimstad egrimstad changed the title fix(ETU-76205): Declare schema as json not yaml fix(ETU-76205): Create custom function to validate x-entur-permissions Aug 26, 2026
@egrimstad
egrimstad force-pushed the fix/ETU-76205_schema-error branch 3 times, most recently from 1ea44d1 to 74a6d90 Compare August 27, 2026 05:13
@egrimstad egrimstad changed the title fix(ETU-76205): Create custom function to validate x-entur-permissions fix(ETU-76205): Create custom function to lint x-entur-permissions Aug 27, 2026
@egrimstad
egrimstad force-pushed the fix/ETU-76205_schema-error branch from 74a6d90 to 135414c Compare August 27, 2026 05:23
@egrimstad
egrimstad marked this pull request as ready for review August 27, 2026 05:26
@egrimstad
egrimstad requested a review from a team as a code owner August 27, 2026 05:26
Comment thread specs/reference-spec-with-errors.json
@egrimstad
egrimstad force-pushed the fix/ETU-76205_schema-error branch from 135414c to dab251f Compare August 27, 2026 08:45
@egrimstad
egrimstad force-pushed the fix/ETU-76205_schema-error branch from dab251f to ba02c83 Compare August 27, 2026 08:54
@egrimstad egrimstad changed the title fix(ETU-76205): Create custom function to lint x-entur-permissions fix(ETU-76205): Better error messages for lint issues in x-entur-permissions Aug 27, 2026
@egrimstad
egrimstad merged commit 9c91944 into main Aug 27, 2026
4 checks passed
egrimstad pushed a commit that referenced this pull request Aug 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[3.1.0](v3.0.3...v3.1.0)
(2026-08-27)


### Features

* **ETU-75494:** Add guidelines for describing the lifecycle of an
endpoint or an API
([3ea0639](3ea0639))


### Bug Fixes

* **ETU-76205:** Better error messages for lint issues in
x-entur-permissions
([#120](#120))
([9c91944](9c91944))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants