apiscrub-1.2.0
توضیحات
OpenAPI Scrubber
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | apiscrub-1.2.0 |
| نام | apiscrub |
| نسخه کتابخانه | 1.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel G. Taylor |
| ایمیل نویسنده | danielgtaylor@gmail.com |
| آدرس صفحه اصلی | https://github.com/danielgtaylor/apiscrub |
| آدرس اینترنتی | https://pypi.org/project/apiscrub/ |
| مجوز | - |
# API Scrubber
An OpenAPI scrubber to process and remove certain information depending on the target audience. For example, given something like:
```yaml
paths:
/hello:
get:
description: Returns a hello world string.
/admin:
x-only: admin
get:
description: Get the admin settings
```
Then running `apiscrub input.yaml -` would result in:
```yaml
paths:
/hello:
get:
description: Returns a hello world string.
```
While running `apiscrub --keep=admin input.yaml -` would result in:
```yaml
paths:
/hello:
get:
description: Returns a hello world string.
/admin:
get:
description: Get the admin settings
```
Note that the `x-only` metadata extension tag gets removed in both cases.
## Installation
Install via Python:
```sh
$ pip install apiscrub
```
## License
Copyright © 2018 Daniel G. Taylor
http://dgt.mit-license.org/
نحوه نصب
نصب پکیج whl apiscrub-1.2.0:
pip install apiscrub-1.2.0.whl
نصب پکیج tar.gz apiscrub-1.2.0:
pip install apiscrub-1.2.0.tar.gz