No project description provided
Project description
This is a very basic linter to check whether a given Swagger specification (YAML file) complies with Zalando’s RESTful API Guidelines.
Usage:
$ sudo pip3 install -r requirements.txt
$ ./linter.py my-swagger-spec.yaml
The following guidelines are currently checked:
Must: Always Return JSON Objects As Top-Level Data Structures To Support Extensibility
Must: Property names must be snake_case (and never camelCase).
Must: Use lowercase separate words with hyphens for Path Segments
Running Unit Tests
$ sudo pip3 install -U tox
$ tox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for restful-api-guidelines-linter-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4209671fcaeb0b813e86724cfaa82bd11cc8dc6481f0a96ea3824338f16e946f |
|
MD5 | a03612aa62e22d840caf8e7d81fb0fb1 |
|
BLAKE2b-256 | d836e88228831b8f91d5dfeade3b342fbaad2c4355bda023c692efd650657039 |
Close
Hashes for restful_api_guidelines_linter-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17cf3c42e93100af40e0fc3644dff4c3b73ac2d4a755915b99327d18c45e1436 |
|
MD5 | f12fa85d7d32d2de6a91c9f438dd45de |
|
BLAKE2b-256 | 664928f3b461a195f950d04ecfc34e587f517e46bf5e187a89848fcb64444df2 |