You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter Zaitcev a53017f948 Merge branch 'dev' into 'master' 4 months ago
data Add data/petstore.yaml 5 months ago
src/openapi_parser Version incremented 4 months ago
.gitignore Documentation should now be compilable 5 months ago
.gitlab-ci.yml [ci skip] Change GitLab CI branch 4 months ago
README.md Update examples in ReadMe 4 months ago
requirements.txt Increment HSB version 4 months ago
setup.py Fix package name 4 months ago

README.md

OpenAPI 3.0 Parser

This package provides functionality to analyze OpenAPI 3.0 Specification files and build clients and servers from that specification.

For more details, please refer the Project Documentation

Example Usage

From the command line:

$ python -m openapi_parser data/petstore.yaml 

From the Python:

from openapi_parser.exporter import PackageWriter
from openapi_parser.parser.loader import OpenApiParser

def main():
    parser = OpenApiParser.open('data/petstore.yaml')
    parser.load_all()
    
    package_writer = PackageWriter(parser)
    package_writer.write_package()
    
    return 0

if (__name__ == '__main__'):
    exit_code = main()
    exit(exit_code)

TODOs:

See Also: