Name | hypothesis-openapi JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | Hypothesis plugin for generating valid Open API documents |
upload_time | 2024-07-10 08:41:25 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
hypothesis
openapi
testing
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# hypothesis-openapi
[![CI](https://github.com/Stranger6667/hypothesis-openapi/actions/workflows/ci.yml/badge.svg)](https://github.com/Stranger6667/hypothesis-openapi/actions/workflows/ci.yml)
[![Coverage](https://codecov.io/gh/Stranger6667/hypothesis-openapi/branch/main/graph/badge.svg)](https://codecov.io/gh/Stranger6667/hypothesis-openapi/branch/main)
[![Version](https://img.shields.io/pypi/v/hypothesis-openapi.svg)](https://pypi.org/project/hypothesis-openapi/)
[![Python versions](https://img.shields.io/pypi/pyversions/hypothesis-openapi.svg)](https://pypi.org/project/hypothesis-openapi/)
[![License](https://img.shields.io/pypi/l/hypothesis-openapi.svg)](https://opensource.org/licenses/MIT)
Hypothesis plugin for generating valid Open API documents.
## Usage
```python
from hypothesis import given
from hypothesis_openapi import openapis
@given(openapis(version="2.0"))
def test_openapi(spec):
assert spec["swagger"] == "2.0"
assert "info" in spec
```
## License
The code in this project is licensed under [MIT license](https://opensource.org/licenses/MIT).
By contributing to `hypothesis-openapi`, you agree that your contributions will be licensed under its MIT license.
Raw data
{
"_id": null,
"home_page": null,
"name": "hypothesis-openapi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Dmitry Dygalo <dmitry@dygalo.dev>",
"keywords": "hypothesis, openapi, testing",
"author": null,
"author_email": "Dmitry Dygalo <dmitry@dygalo.dev>",
"download_url": "https://files.pythonhosted.org/packages/ed/cf/2fb91015967342624b308a9bf3537d4f6af6af6a4db5b7daa3f5f1822829/hypothesis_openapi-0.2.0.tar.gz",
"platform": null,
"description": "# hypothesis-openapi\n\n[![CI](https://github.com/Stranger6667/hypothesis-openapi/actions/workflows/ci.yml/badge.svg)](https://github.com/Stranger6667/hypothesis-openapi/actions/workflows/ci.yml)\n[![Coverage](https://codecov.io/gh/Stranger6667/hypothesis-openapi/branch/main/graph/badge.svg)](https://codecov.io/gh/Stranger6667/hypothesis-openapi/branch/main)\n[![Version](https://img.shields.io/pypi/v/hypothesis-openapi.svg)](https://pypi.org/project/hypothesis-openapi/)\n[![Python versions](https://img.shields.io/pypi/pyversions/hypothesis-openapi.svg)](https://pypi.org/project/hypothesis-openapi/)\n[![License](https://img.shields.io/pypi/l/hypothesis-openapi.svg)](https://opensource.org/licenses/MIT)\n\nHypothesis plugin for generating valid Open API documents.\n\n## Usage\n\n```python\nfrom hypothesis import given\nfrom hypothesis_openapi import openapis\n\n\n@given(openapis(version=\"2.0\"))\ndef test_openapi(spec):\n assert spec[\"swagger\"] == \"2.0\"\n assert \"info\" in spec\n```\n\n## License\n\nThe code in this project is licensed under [MIT license](https://opensource.org/licenses/MIT).\nBy contributing to `hypothesis-openapi`, you agree that your contributions will be licensed under its MIT license.\n",
"bugtrack_url": null,
"license": null,
"summary": "Hypothesis plugin for generating valid Open API documents",
"version": "0.2.0",
"project_urls": {
"Bug Tracker": "https://github.com/Stranger6667/hypothesis-openapi",
"Changelog": "https://github.com/Stranger6667/hypothesis-openapi/blob/main/CHANGELOG.md",
"Funding": "https://github.com/sponsors/Stranger6667",
"Source Code": "https://github.com/Stranger6667/hypothesis-openapi"
},
"split_keywords": [
"hypothesis",
" openapi",
" testing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9e5b1da7540b7a8312efb6dd852b205b0f76e7556dde0712cd572c6322904ae0",
"md5": "9105abe70ae842049f7c43a186c46635",
"sha256": "7a23b68a3994714e66e3cfafaceef64d4292cf96b31a237f81a2eed589674395"
},
"downloads": -1,
"filename": "hypothesis_openapi-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9105abe70ae842049f7c43a186c46635",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 7200,
"upload_time": "2024-07-10T08:41:24",
"upload_time_iso_8601": "2024-07-10T08:41:24.189930Z",
"url": "https://files.pythonhosted.org/packages/9e/5b/1da7540b7a8312efb6dd852b205b0f76e7556dde0712cd572c6322904ae0/hypothesis_openapi-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "edcf2fb91015967342624b308a9bf3537d4f6af6af6a4db5b7daa3f5f1822829",
"md5": "43aa2c80cc3653c199a38d00ba2fad00",
"sha256": "6cb50e53c12b4e5963e81aa5e22faccf3f1f1d01e686e0923aaea274edb56b45"
},
"downloads": -1,
"filename": "hypothesis_openapi-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "43aa2c80cc3653c199a38d00ba2fad00",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6517,
"upload_time": "2024-07-10T08:41:25",
"upload_time_iso_8601": "2024-07-10T08:41:25.572933Z",
"url": "https://files.pythonhosted.org/packages/ed/cf/2fb91015967342624b308a9bf3537d4f6af6af6a4db5b7daa3f5f1822829/hypothesis_openapi-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-10 08:41:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Stranger6667",
"github_project": "hypothesis-openapi",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "hypothesis-openapi"
}