Sunli

Results 255 comments of Sunli

Is this what you want? https://github.com/poem-web/poem/blob/cd27094b82bc07dfaf2cc87690b59a5cb4c7058d/poem-openapi/tests/api.rs#L675

```rust #[derive(ResponseContent)] pub enum MyResponseContent { Json(Json), #[oai(actual_type = "Binary")] //

I actually think it's useful, although there aren't many scenarios that use it and it seems to be close to completion?

Is there any news on this? 🙂

Thanks! ♥

I think this is not what `poem` should include, `poem` only does HTTP server related.

When I thought about it, I found that this is not easy to achieve, the outer middleware cannot get the `operation_id`. 😂

I've add an example to show how to get the `operation-id` from the response. https://github.com/poem-web/poem/tree/master/examples/openapi/log-with-operation-id