Skip to content

mkulak/swali

Repository files navigation

Swali - swagger linter

Lint your Swagger-based REST API according to Zalando RESTful API guidelines. This project is fork of Zally.

Swali is deployed as AWS Lambda

How to use

Swali itself has REST API.

Address of deployed version: https://ijgf82g4o9.execute-api.us-west-2.amazonaws.com/api (no auth required).

Send request via command line:

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.