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
actix_web::Either
Using https://docs.rs/actix-web/latest/actix_web/enum.Either.html is not handled by paperclip.
Having an endpoint like:
#[api_v2_operation] pub async my_endpoint(form: web::Either<web::Json<MyForm>, web::Form<MyForm>>) -> HttpResponse { let form : MyForm = match form { Either::Left(f) => f.0, Either::Right(f) => f.0, }; // ... }
Results in an error:
no variant or associated item named `update_definitions` found for enum `actix_web::Either` in the current scope
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using https://docs.rs/actix-web/latest/actix_web/enum.Either.html is not handled by paperclip.
Having an endpoint like:
Results in an error:
The text was updated successfully, but these errors were encountered: