Mic open API docs
Project description
moad: Mix Open Api Documents
Tool to Mix Open Api Docs. You can copy components from other openapi docs. The tool was initially written to share objects between openapi docs if there is a requirement for the docs to be in a single file.
You can place the following comments in one openapi doc:
# moad-mixin:begin:other.yml:components/schemas
# moad-mixin:end
moad will scan the file and attempt to replace the text between begin
and end
with the content of the schemas of file test2.yml
Usage:
python -m pip install moat
python -m moat
Cou can only select certain elements from a path
# moad-mixin:begin:other.yml:components/schemas>address,user
# moad-mixin:end
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
moad-0.3.0.tar.gz
(3.7 kB
view details)
Built Distribution
moad-0.3.0-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file moad-0.3.0.tar.gz
.
File metadata
- Download URL: moad-0.3.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1208290a0b3c2ea319a9d5bf5a53593b5c29ff0c455d527f6dd38598f4e84f10 |
|
MD5 | de286791a9796f5207d42f339313e2f4 |
|
BLAKE2b-256 | 3e37f6026415b9830cd2622e9f7dd973844585243c2df2e46fd72a1df1f5553d |
File details
Details for the file moad-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: moad-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48454a0099aca30c76ee500bda3cd710e6a0b87f8d4eaba1bccd214bf432f018 |
|
MD5 | 8e9adc006f35422b061e0bbd79e7a127 |
|
BLAKE2b-256 | f35f1a46f24511c5185ce0343ad4c5da99c6bf85475e07eb95d5bde7f4416192 |