poem
poem copied to clipboard
A full-featured and easy-to-use web framework with the Rust programming language.
I found this issue: https://github.com/poem-web/poem/issues/714 Following docs there is no ` OpenApiService::new_with_spec` method. Is the example still up to date? I would like to have separate Api's with different middleware's,...
define two routes bellow #[oai(path = "/materials:search", method = "post")] #[oai(path = "/materials:batch_delete", method = "post")] it's normal on swagger html, but request to batch_delete always match to `/materials:search` ?...
My use-case is that I had a few utilities in my workspace that returns cookies (with `cookie-rs`), but I can't use them with `poem` because the cookie jar only accepts...
So that we can `RouteGrpc::new().add_service(FlightServiceServer::new(flight_service))` to integrate with arrow-flight.
Currently, the RustlsConfig can be configured with a fallback RustlsCertificate whose key and cert are preloaded bytes. In reality, key and cert files can be updated periodically. Requiring a restart...
I am nesting a React Application inside Poem app and need to serve it under all endpoints except for some Working example: ```rust #[derive(RustEmbed)] #[folder = "frontend/dist"] pub struct Frontend;...
## Description of the feature Current, if you try to set multiple `Set-Cookie` headers, only the last one is used: ```rust struct Api; #[derive(ApiResponse)] pub enum FooResponse { #[oai(status =...
## Description of the feature It would be nice to be able to document `Union`s directly from doc comments on the variant. Currently this does not work, and the documentation...
## Description of the feature I want to use some header arguments inside a middleware and need them to be included in the OpenAPI specification. Currently I need to list...