Skip to content

New to OpenAlchemy...not sure why I'm getting an Every property requires a type with this OpenAPI yaml? Also... #166

@tduval-unifylogic

Description

@tduval-unifylogic

Hi, not sure how else to ask this question. Couldn't find a questions or support link. I like what you have put together!

I tried following the documentation and I keep getting 'Every property requires a type' error with the first set of yaml. I've combed through it and every property has a type? That's my first issue, my second is how to handle properties whose types are enums? I searched documentation (at https://openapi-sqlalchemy.readthedocs.io/) and did not get any results. There's another yaml below the first one that the entire file including enums properties prior to coding it for OpenAlchemy. Thanks so much!

The second is the full OpenAPI yaml prior to tagging it for OpenAlchemy x-tablename, etc. where you can see how we refer to enums (which would be essentially a lookup table)

OpenAPI_OpenAlchemyCoded.txt
OpenAPI_FullAPI_noOpenAlchemyCoding.txt

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