Skip to content
Merged
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
29 changes: 0 additions & 29 deletions .github/workflows/linters.yml

This file was deleted.

10 changes: 2 additions & 8 deletions .github/workflows/sync-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ jobs:
cp v4-source/openapi.yaml openapi.yaml
echo "Synced openapi.yaml from azionapi-v4-openapi"

- name: Sync spectral rules
run: |
rm -rf spectral
cp -r v4-source/spectral spectral
echo "Synced spectral rules from azionapi-v4-openapi"

- name: Cleanup
run: rm -rf v4-source

Expand All @@ -61,6 +55,6 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add openapi.yaml spectral/
git commit -m "chore: sync openapi.yaml and spectral from azionapi-v4-openapi"
git add openapi.yaml
git commit -m "chore: sync openapi.yaml from azionapi-v4-openapi"
git push
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ Legacy API specifications are available in the `v3/` directory for backward comp
# View with Swagger UI
npx @redocly/cli preview-docs openapi.yaml

# Validate with Spectral
npx @stoplight/spectral-cli lint openapi.yaml --ruleset spectral/spectral.yaml
# Validate OpenAPI
npx @redocly/cli lint openapi.yaml

# Generate client SDKs
openapi-generator-cli generate -i openapi.yaml -g python -o ./client
```

## 📚 Documentation

- **[Spectral Validation Rules](spectral/README.md)** - Comprehensive guide to all custom Spectral linting rules

## 🔄 Synchronization

The `openapi.yaml` file is automatically synchronized from [azionapi-v4-openapi](https://github.com/aziontech/azionapi-v4-openapi) when changes are merged to the main branch.
Expand Down
Loading
Loading