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
Metadata
Release files for moad 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moad-0.3.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moad-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / moad-0.3.0.tar.gz
| Download URL | moad-0.3.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1208290a0b3c2ea319a9d5bf5a53593b5c29ff0c455d527f6dd38598f4e84f10
|
|
BLAKE2b-256 checksum How to use checksums |
3e37f6026415b9830cd2622e9f7dd973844585243c2df2e46fd72a1df1f5553d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / moad-0.3.0-py3-none-any.whl
| Download URL | moad-0.3.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48454a0099aca30c76ee500bda3cd710e6a0b87f8d4eaba1bccd214bf432f018
|
|
BLAKE2b-256 checksum How to use checksums |
f35f1a46f24511c5185ce0343ad4c5da99c6bf85475e07eb95d5bde7f4416192
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|