Hypothesis plugin for generating valid Open API documents
Project description
hypothesis-openapi
Hypothesis plugin for generating valid Open API documents.
Usage
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.
By contributing to hypothesis-openapi, you agree that your contributions will be licensed under its MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hypothesis_openapi-0.3.0.tar.gz.
File metadata
- Download URL: hypothesis_openapi-0.3.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fcd6f594ca9ef515be8b165217601d73ad4a1f1dae2323e28beccb2f1b904c6
|
|
| MD5 |
366a98c64eb60f36361350ee4a707db6
|
|
| BLAKE2b-256 |
ce794dbf12deedba2fe105d62315b23df30471cb94b3d75325715d02a3295839
|
Provenance
The following attestation bundles were made for hypothesis_openapi-0.3.0.tar.gz:
Publisher:
release.yml on Stranger6667/hypothesis-openapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hypothesis_openapi-0.3.0.tar.gz -
Subject digest:
0fcd6f594ca9ef515be8b165217601d73ad4a1f1dae2323e28beccb2f1b904c6 - Sigstore transparency entry: 1006442968
- Sigstore integration time:
-
Permalink:
Stranger6667/hypothesis-openapi@af4ed400af205d6d56ba6e7c8b3cf0028a19c3cc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/Stranger6667
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@af4ed400af205d6d56ba6e7c8b3cf0028a19c3cc -
Trigger Event:
release
-
Statement type:
File details
Details for the file hypothesis_openapi-0.3.0-py3-none-any.whl.
File metadata
- Download URL: hypothesis_openapi-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33aee0804d41e76bbf36da98fd7718de4f09fb8e98f2c8345ff57fd4e07adb99
|
|
| MD5 |
17b3ab7385f3e7f69a68057e5674481a
|
|
| BLAKE2b-256 |
80a37e893452fa75cc5c3c0120da3e98a23e638e2fdeb60d11e47bf711b6dd28
|
Provenance
The following attestation bundles were made for hypothesis_openapi-0.3.0-py3-none-any.whl:
Publisher:
release.yml on Stranger6667/hypothesis-openapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hypothesis_openapi-0.3.0-py3-none-any.whl -
Subject digest:
33aee0804d41e76bbf36da98fd7718de4f09fb8e98f2c8345ff57fd4e07adb99 - Sigstore transparency entry: 1006442969
- Sigstore integration time:
-
Permalink:
Stranger6667/hypothesis-openapi@af4ed400af205d6d56ba6e7c8b3cf0028a19c3cc -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/Stranger6667
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@af4ed400af205d6d56ba6e7c8b3cf0028a19c3cc -
Trigger Event:
release
-
Statement type: