You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

hypothesis-openapi

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypothesis-openapi

Hypothesis plugin for generating valid Open API documents

0.2.1
pipPyPI
Maintainers
1

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.

Keywords

hypothesis

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts