An open API service indexing awesome lists of open source software.

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

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.