mkulak / swali

Swagger Linter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Swagger Linter

License:MIT License


Languages

Language:Kotlin 92.5%Language:TypeScript 4.9%Language:Rust 1.7%Language:Python 0.4%Language:Dockerfile 0.2%Language:Go 0.2%Language:JavaScript 0.1%Language:Makefile 0.1%Language:HTML 0.0%