Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Fast-api python generator does not support unions, allOf, anyOf, or oneOf #20248

Closed
lmossman opened this issue Dec 8, 2022 · 1 comment

Comments

@lmossman
Copy link
Contributor

lmossman commented Dec 8, 2022

See generator documentation here: https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/python-fastapi.md

See relevant slack thread here: https://airbytehq-team.slack.com/archives/C02TL38U5L7/p1670470677250839?thread_ts=1670469267.630799&cid=C02TL38U5L7

This means that we cannot directly reference the Connector Manifest json schema in our connector builder server spec, as it contains oneOfs. We will therefore need to do a workaround where the connector builder server endpoints take in a generic "object"

@girarda
Copy link
Contributor

girarda commented Oct 11, 2023

closing because we don't use the fast-api python generator anymore

@girarda girarda closed this as completed Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants