Skip to content

Hypothesis plugin for generating valid Open API documents

License

Notifications You must be signed in to change notification settings

Stranger6667/hypothesis-openapi

Repository files navigation

hypothesis-openapi

CI Coverage Version Python versions License

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.

About

Hypothesis plugin for generating valid Open API documents

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Languages