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

## Description of the feature It would be nice if a type being wrapped in `Option` would be shown as nullable in the OpenAPI document. See https://stackoverflow.com/questions/48111459/how-to-define-a-property-that-can-be-string-or-null-in-openapi-swagger ## Code example...

enhancement

## Actual Behavior missing "const PARAM_IS_REQUIRED" ## Reproduce the Problem #[derive( Multipart)] struct UploadPayload { name: String, desc: Option, file: Upload, } ## Possible solution adding const PARAM_IS_REQUIRED to macro...

bug

## Expected Behavior Expected 4 endpoints, 2 from one api and 2 from another ## Actual Behavior Only three pop up ## Steps to Reproduce the Problem ``` use poem::listener::TcpListener;...

bug

Greetings, I currently explore the features of poem and got a bit puzzled about the [Tracing ](https://github.com/poem-web/poem/blob/master/poem/src/middleware/tracing_mw.rs)middleware. I wondered why all the errors of my Endpoints were displayed on the...

question

Hi, I wanted to integrate Prometheus into my backend (which will go into production beginning of Nov) to gather some data about the performance. Therefore I wanted to use opentelemetry...

question

## Expected Behavior My API accepts arbitrary JSON: ``` #[derive(Object, Debug)] pub struct BulkRequestDoc { pub smile: String, pub extra_data: Option, } ``` which should produce example data like: ```...

bug

This line / block in the tokio-metrics middleware transform method https://github.com/poem-web/poem/blob/a2e8b98590bec85469f789622e9d62d17cc8a684/poem/src/middleware/tokio_metrics_mw.rs#L57-L70 requires a running tokio reactor. This is quite unintuitive, as this runs during the creation of an endpoint, not...

## Actual Behaviour If you specify generics in your response type, the resulting OpenAPI specification becomes invalid due to non-RFC3986-compliant **_$ref_** values. Example: ```rust #[derive(Object)] struct Example { number: i32,...

bug

**Issue Description:** When sending a request with the structure defined as: ```rust #[derive(Clone, Debug, Deserialize, Serialize, Object)] pub struct CreateDTO { #[oai(validator(min_length = 1, max_length = 256))] pub name: String,...

question

## Expected Behavior When composed like this, ```rust #[derive(Debug, NewType)] pub struct TodoText ( #[oai(validator(min_length = 2, max_length = 512))] String ); #[derive(Debug, Object)] pub struct AddTodoRequest { pub text:...

bug