OpenAPI spec compare
Project description
vedro-spec-compare
Description
vedro-spec-compare
is a tool to compare two OpenAPI specs and generate a coverage report
Installation
pip3 install vedro-spec-compare
Usage
Help
vsc -h
usage: vsc [-h] {coverage} ...
vedro-spec-compare commands
positional arguments:
{coverage} Available commands
coverage Generate coverage report
options:
-h, --help show this help message and exit
Coverage
vsc coverage -h
usage: vsc coverage [-h] [--report-path REPORT_PATH] golden_spec_path testing_spec_path
positional arguments:
golden_spec_path Path to the golden OpenAPI spec
testing_spec_path Path to the testing OpenAPI spec
options:
-h, --help show this help message and exit
--report-path REPORT_PATH
The path of the coverage report
Examples
From yml files
vsc coverage golden_spec.yml testing_spec.yml
google-chrome coverage.html
With report path
vsc coverage golden_spec.yml testing_spec.yml --report-path coverage_report.yml
google-chrome coverage_report.html
From urls
vsc coverage https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore-expanded.yaml
google-chrome coverage.html
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
vedro_spec_compare-0.0.1.tar.gz
(10.4 kB
view details)
Built Distribution
File details
Details for the file vedro_spec_compare-0.0.1.tar.gz
.
File metadata
- Download URL: vedro_spec_compare-0.0.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1264ed78e86f2cae0cc7f4a61a6489cdce7852a17ac931f7e40b62fcdd60f961 |
|
MD5 | 4b87dced39a6b107e8fafbeb39b761f9 |
|
BLAKE2b-256 | 9800cafe45cd7e28d8a00c2720cdc64ddaf14dfa91cf814d704a7cf4677328ad |
File details
Details for the file vedro_spec_compare-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: vedro_spec_compare-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a33ebc9555d76aab0225c15a9d86d5e53bfed349c15fa48b4ba12774f4a24fe |
|
MD5 | 36e9614529197e82d3a6de9f960940b2 |
|
BLAKE2b-256 | 1171f720ec739881895be942b8f1431761f37e3d71e16e9169488305569f052e |