poem icon indicating copy to clipboard operation
poem copied to clipboard

A full-featured and easy-to-use web framework with the Rust programming language.

Results 199 poem issues
Sort by recently updated
recently updated
newest added

I created this example based on https://github.com/poem-web/poem/blob/master/examples/openapi/log-with-operation-id/src/main.rs: ```rust use time::OffsetDateTime; use poem::{listener::TcpListener, Endpoint, EndpointExt, Route, Server, Error}; use poem::http::StatusCode; use poem::middleware::Cors; use poem::web::Data; use poem_openapi::{param::Query, payload::PlainText, OpenApi, OpenApiService}; struct Api;...

question

I've defined a security schema that extracts a refresh token from the cookie. ```rust #[derive(SecurityScheme)] #[oai( type = "api_key", key_name = "refresh_token", in = "cookie", checker = "valid_refresh_token" )] pub...

question

## Description of the feature You can create request params by deriving from `Object` but you can not create custom errors yet, which are shown as errors in OpenApi and...

enhancement

## Description of the feature It's common for pure HTTP servers to enforce redirect from HTTP to HTTPS after provisioning valid SSL certificates ## Code example (if possible) I believe...

enhancement

Hi Background: I want to authenticate a client using the X509 certificate. For security reasons I need to have access to some fields in the cert and process them. I...

question

## Description of the feature For the request metrics, I see two labels that roughly do what I want: `http.url` and `http.path_pattern`. ![image](https://user-images.githubusercontent.com/339354/208863729-f3e27ee7-8277-4250-906b-2e3e2c11665b.png) `http.url` is to specific and includes the...

enhancement

## Description of the feature I'm creating a poem app for a demo inside a devcontainer, and if the generated swagger document contains any Server elements, it's not possible to...

enhancement

## Description of the feature It is quite a useful construction to use newtype to specify e.g. ID. Unfortunately, the current implementation of the Object macro does not allow the...

enhancement

## Expected Behavior Compile successfully ## Actual Behavior Failed, got: ``` higher-ranked lifetime error could not prove for std::pin::Pin: std::ops::CoerceUnsized Executor { unimplemented!() } } pub async fn save, {...

bug

It would be nice if there was support for merging routes like Axum, this is especially usefull when breaking down routes in multiple modules. ## Description of the feature The...

enhancement