Name | hypothesis-openapi JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | Hypothesis plugin for generating valid Open API documents |
upload_time | 2024-05-15 07:24:44 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
hypothesis
openapi
testing
|
VCS |
![](/static/img/github-24-000000.png) |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# hypothesis-openapi
[![Build](https://github.com/Stranger6667/hypothesis-openapi/workflows/build/badge.svg)](https://github.com/Stranger6667/hypothesis-main/actions)
[![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/58/77/1f2bbca7deeb004569feeac81a298f5032acbdc18ef310961c484a2d2e1f/hypothesis_openapi-0.1.0.tar.gz",
"platform": null,
"description": "# hypothesis-openapi\n\n[![Build](https://github.com/Stranger6667/hypothesis-openapi/workflows/build/badge.svg)](https://github.com/Stranger6667/hypothesis-main/actions)\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.1.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": "1cb1347f37c61d9cf4a2a1a279a406e735ceb8f1d0de0cdabe8c343d6b7e4cb6",
"md5": "f9f0878b2722fe602cb8c8c46d5a0a21",
"sha256": "d71dd8080052ed4f8b10bf3835129b4f074c28f6e956718aabbdd5453669dde3"
},
"downloads": -1,
"filename": "hypothesis_openapi-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f9f0878b2722fe602cb8c8c46d5a0a21",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 5959,
"upload_time": "2024-05-15T07:24:42",
"upload_time_iso_8601": "2024-05-15T07:24:42.308842Z",
"url": "https://files.pythonhosted.org/packages/1c/b1/347f37c61d9cf4a2a1a279a406e735ceb8f1d0de0cdabe8c343d6b7e4cb6/hypothesis_openapi-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "58771f2bbca7deeb004569feeac81a298f5032acbdc18ef310961c484a2d2e1f",
"md5": "4cc1d1dabe88a9d01c0ee96edbf4dee8",
"sha256": "b056dd9fe5b054a8419e4fd605157b4b36906129ad53daf31f1d7a9b117a4967"
},
"downloads": -1,
"filename": "hypothesis_openapi-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "4cc1d1dabe88a9d01c0ee96edbf4dee8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6275,
"upload_time": "2024-05-15T07:24:44",
"upload_time_iso_8601": "2024-05-15T07:24:44.054379Z",
"url": "https://files.pythonhosted.org/packages/58/77/1f2bbca7deeb004569feeac81a298f5032acbdc18ef310961c484a2d2e1f/hypothesis_openapi-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-15 07:24:44",
"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"
}