|
5 months ago | |
---|---|---|
data | 6 months ago | |
src/openapi_parser | 5 months ago | |
.gitignore | 6 months ago | |
.gitlab-ci.yml | 5 months ago | |
README.md | 5 months ago | |
requirements.txt | 6 months ago | |
setup.py | 5 months ago |
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
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)
style
-encodingschema
and content
inside parameters conflict support