We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
🚀 Feature Request
Add support for the following scenarios:
@dataclass class A: a_prop: int @dataclass class B: b_prop: str @dataclass class C: c_prop: str @dataclass class AnyOfTestClass: sub_prop: Union[A, B, C] @pytest.mark.asyncio async def test_any_of_dataclasses(docs: OpenAPIHandler, serializer: Serializer): app = get_app() docs.bind_app(app) @app.route("/one") def one(data: AnyOfTestClass): ... await app.start() yaml = serializer.to_yaml(docs.generate_documentation(app))
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Fix #389
8e48342
RobertoPrevato
No branches or pull requests
🚀 Feature Request
Add support for the following scenarios:
The text was updated successfully, but these errors were encountered: