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
Originally posted by ctron October 31, 2023 The documented approach I see is:
#[derive(OpenApi)] #[openapi( paths(), components( schemas( foo::Bar, foo::Baz, ) ), )] pub struct ApiDoc;
Now, if I don't want to repeat myself, listing every type of the schema again, is there a way to import a full module? Like:
#[openapi( paths(), components( schemas( foo ) ), )] ```</div>
The text was updated successfully, but these errors were encountered:
Closing this for now, this is going to be handled differently.
Sorry, something went wrong.
No branches or pull requests
Discussed in #788
Originally posted by ctron October 31, 2023
The documented approach I see is:
Now, if I don't want to repeat myself, listing every type of the schema again, is there a way to import a full module? Like:
The text was updated successfully, but these errors were encountered: