Skip to content

Make Parser and Convert Models from OAS3 (open api specification 3 / swagger) to Python Models #9

@leandroimail

Description

@leandroimail

Is your feature request related to a problem? Please describe.

Today it is possible from OAS3/Swagger to make a model for Fask or FastAPi (https://openapi-generator.tech/docs/generators/python-flask), but it is super complicated use this program, first of all, that built in Java, second of all this program do not create a ORM schema.

So, today I make a script in Python to convert OAS3 Schema to SQL DDL and use your packages to create ORM schema the way I can create a FastAPI from a OAS3 and a SQLAlchemy ORM altomatically.

But it is easier to create directly with omymodel or py-models-parser in a unique shot.

Describe the solution you'd like
My proposal is a way to parse models from OAS3/Swagger to Python model

Describe alternatives you've considered
It is possible convert OAS3 in SQL Schema. Today I did not use Simple-SQL-Parse dictonary schema, but I would use this structure to make easier conversion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions