Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/check-aep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Check AEP Compliance
on:
pull_request:
branches: [main]
paths:
- 'api/**'
- '.spectral.yaml'

jobs:
check-aep:
Expand Down
2 changes: 1 addition & 1 deletion .spectral.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends:
- https://raw.githubusercontent.com/aep-dev/aep-openapi-linter/main/spectral.yaml
- https://raw.githubusercontent.com/aep-dev/aep-openapi-linter/refs/tags/v0.5.3/spectral.yaml

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): The raw GitHub URL for the tagged spectral config likely should not include refs/tags.

The raw GitHub URL for tags is typically https://raw.githubusercontent.com/<org>/<repo>/<tag>/<path>, e.g. .../v0.5.3/spectral.yaml. Please verify this link resolves as expected and, if not, update it to use the tag name directly instead of refs/tags in the path.


rules:
x-aep-resource-no-boolean:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ check-generate-api: generate-api

# Check AEP compliance
check-aep:
spectral lint --fail-severity=warn ./api/v1alpha1/openapi.yaml
npx --yes @stoplight/spectral-cli lint --fail-severity=warn ./api/v1alpha1/openapi.yaml

subsystem-test-up:
$(COMPOSE) -f test/subsystem/docker-compose.yaml up -d --build
Expand Down