Metadata-Version: 2.1
Name: openapi_typed
Version: 0.0.1
Summary: TypedDict typings for OpenAPI specification
Home-page: http://github.com/unmock/openapi-typed
Author: Meeshkan Dev Team
Author-email: dev@meeshkan.com
License: MIT
Description: 
        # OpenAPI typed
        
        Python typings for [OpenAPI](https://swagger.io/specification/) using [TypedDict](https://www.python.org/dev/peps/pep-0589/).
        
        ## Installation
        
        Install package from [PyPI](https://pypi.org/project/openapi-typed/).
        
        ```bash
        pip install openapi-typed
        ```
        
        ## Usage
        
        ```python
        from openapi_typed import OpenAPIObject, Info
        
        # Valid OpenAPIObject
        openapi_valid = OpenAPIObject(
            openapi="3.0.0",
            info=Info(
                title="My API",
                version="0.0.0")
            )
        
        # Invalid OpenAPIObject
        openapi_invalid = OpenAPIObject(
            openap="3.0.0",  # Type-check error, unknown attribute
            info=Info(
                title="My API"  # Type-check error, missing attribute `version`
            )
        )
        ```
        
        ## Development
        
        Install development dependencies:
        
        ```bash
        pip install -e .[dev]
        ```
        
        Run tests:
        
        ```bash
        pytest
        # OR
        python setup.py test
        ```
        
        Build package:
        
        ```bash
        python setup.py dist
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
Provides-Extra: dev
Provides-Extra: devTF
Provides-Extra: devTorch
