OpenAlchemy icon indicating copy to clipboard operation
OpenAlchemy copied to clipboard

Define SQLAlchemy models using the OpenAPI specification.

Results 36 OpenAlchemy issues
Sort by recently updated
recently updated
newest added

Besides the Types "Date" and "DateTime" SQLAlchemy also supports "Interval". This type corresponds to the "duration" format from the JSON Schema/OpenAPI specification (https://json-schema.org/understanding-json-schema/reference/string.html).

As a user I want to define multiple relationships on a model pointing to the same referenced model so that I can have a construct such as primary and secondary...

enhancement

As a user I want to have the ability to add a foreign key to an x-composite-index Currently when adding a foreign key into the x-composite-index it generates a key...

Greetings! Long time no chat. I am in the process of generating a service using OpenAlchemy and want to create the endpoint fulfillment a little differently. (api.py) and am wondering...

sqlalchemy supports the array type for postgress https://docs.sqlalchemy.org/en/13/core/type_basics.html#sqlalchemy.types.ARRAY would be mapped from openapi `array` type https://swagger.io/docs/specification/data-models/data-types/#array happy to submit a pr for this if you think its worth it

enhancement

As a user I want to ensure that the OpenAPI specification I pass to OpenAlchemy is a valid JSON Schema document so that the generated models are valid.

enhancement

As a user I want to define a list of valid values for a variable so that only those values are accepted. Reference to the OpenAPI documentation: [https://swagger.io/docs/specification/data-models/enums/](https://swagger.io/docs/specification/data-models/enums/) Requested in...

enhancement

As a developer, I would like to have the ability to store the time zone associated to my `DateTime` objects. Currently, they look like this in the Alembic migrations: ```python...

As a developer I want to use Bandit to find potential security issues in the code. Therefore the following checks need to be re-enabled and fixed: `B101`, `B303` and `B310`.