https://github.com/mkulak/swali
Swagger Linter
https://github.com/mkulak/swali
api-linter aws-lambda swagger
Last synced: about 2 months ago
JSON representation
Swagger Linter
- Host: GitHub
- URL: https://github.com/mkulak/swali
- Owner: mkulak
- License: mit
- Created: 2018-05-07T06:06:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-25T21:08:03.000Z (over 3 years ago)
- Last Synced: 2025-02-09T07:15:09.726Z (4 months ago)
- Topics: api-linter, aws-lambda, swagger
- Language: Kotlin
- Size: 368 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
Swali - swagger linter
==
Lint your Swagger-based REST API according to [Zalando RESTful API guidelines](https://opensource.zalando.com/restful-api-guidelines).
This project is fork of [Zally](https://github.com/zalando/zally).Swali is deployed as [AWS Lambda](https://aws.amazon.com/lambda/)
How to use
---Swali itself has [REST API](backend/src/main/resources/api.yaml).
Address of deployed version: https://ijgf82g4o9.execute-api.us-west-2.amazonaws.com/api (no auth required).
Send request via command line:
```bash
curl -X POST --location "https://ijgf82g4o9.execute-api.us-west-2.amazonaws.com/api/violations" \
-d "{
\"api_definition_url\": \"https://petstore.swagger.io/v2/swagger.json\",
\"ignore_rules\": [\"172\", \"146\", \"150\", \"110\", \"176\", \"151\", \"143\", \"174\", \"129\"]
}"
```CLI and Web UI is in development.