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

Hello. I want to have API separated by files. I've been looking at combining APIs https://github.com/poem-web/poem/blob/master/examples/openapi/combined-apis/src/main.rs and just increased the number of OpenAPI structures. Now I am getting an error....

question

Hi, thanks for this library! I am running into an issue. I would like to use a `HashMap` with `poem_openapi::param::Query`. Here is a small example: ``` #[OpenApi(prefix_path = "/v1")] impl...

question

First off, here is how you repro the problem: - Cargo.toml: https://gist.github.com/banool/f86dd2bb4ce2f2388c7fbf4850a98c3f - src/main.rs: https://gist.github.com/banool/fb3639310dc0ae9f2d01aecdd26a1e44 - src/mymacro.rs: https://gist.github.com/banool/0d5b1e4cb1e9055795d75a3e6631d454 Once you've got this, `cargo run` and check the generated YAML spec:...

enhancement

@sunli829 hello! Thank you for the great library. I try to use some middleware from [tower-http](https://github.com/tower-rs/tower-http) and get error: ```rust error[E0277]: the trait bound `RequestBodyLimit: tower_service::Service` is not satisfied -->...

question

Hello! After add `Compression` middleware response is slow. My application: ```rust use poem::middleware::{CatchPanic, Compression, TowerLayerCompatExt, Tracing}; use poem::{listener::TcpListener, EndpointExt, Route, Server}; use poem_openapi::OpenApiService; use tower_http::limit::RequestBodyLimitLayer; #[tokio::main] async fn main() ->...

question

In the past we struggled with SemVer compliance (See #140, #169, #200, #246). Today I read about [`cargo-semver-checks`](https://github.com/obi1kenobi/cargo-semver-check) (also see the [article on Predrags blog](https://predr.ag/blog/toward-fearless-cargo-update/).) Seems like it should be...

enhancement

When a date type was specified in an openapi Object, it was previously set to the format `naive-date`, which isn't recognized by doc-generators. This replaces the openapi text format `naive-date`...

Hello, I would implement some type of custom error message when the sent request has missing fields. The problem I have is, I can't find a way to extract the...

question

## Expected Behavior Poem with Rustls support works with PKCS#1 (RSA), SEC-1 (EC), and PKCS#8 private keys. ## Actual Behavior Poem treats all private keys as PKCS#8 keys (calling `PrivateKeyDer::Pkcs8(key.into())`...

bug

## Expected Behavior Indentation similar to how it is rendered in markdown, `cargo doc`, rust analyzer, here on Github ``` [ { "id": 1, "value": { "Secret": "Password" } },...

bug