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.html
google-chrome coverage_report.html
From urls
vsc coverage https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore-expanded.yaml https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.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.1.0.tar.gz
(11.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vedro_spec_compare-0.1.0.tar.gz.
File metadata
- Download URL: vedro_spec_compare-0.1.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac66120a37dabf51fd24bdfc456fef13f09d74975d3bcc4d44e30edea1ff117e
|
|
| MD5 |
c2d011656ec0932d52dcbe4518c64df9
|
|
| BLAKE2b-256 |
610ee8d7d2c28c8beb2798354abf613019a48b86ec747c7ff2717be4b40739d4
|
File details
Details for the file vedro_spec_compare-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vedro_spec_compare-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cd4b343fe37d8fbeecb0a06c9dce3665bb39326754eeb3c4da4f81963db243d
|
|
| MD5 |
11d1e223a1e8d153154f1bd5d2c4dc03
|
|
| BLAKE2b-256 |
aae663537cd8fadb36da83ae510a6cb72c66518ea304aa398e03e4c31ff64ee1
|