hypothesisopenapi 0.2.1
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.