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
https://docs.rs/poem-openapi/latest/poem_openapi/derive.Object.html oai parameter default is only support bool,string. Can we support more basic types, even customized structs?
/// example #[derive(Object)] struct example { id: String, #[oai(default=3306)] mysql_port: u32, }
The text was updated successfully, but these errors were encountered:
Maybe looks like serde-rs/serde#368 ?
Sorry, something went wrong.
yes,is it feasible?
No branches or pull requests
Description of the feature
https://docs.rs/poem-openapi/latest/poem_openapi/derive.Object.html
oai parameter default is only support bool,string.
Can we support more basic types, even customized structs?
Code example (if possible)
The text was updated successfully, but these errors were encountered: