Daniel Porteous (dport)

Results 253 comments of Daniel Porteous (dport)

I'm going to close this PR, I did some research and it seems like using YAML for payloads is generally frowned upon.

@sunli829 could we re-open this one and add a "do not mark stale" tag? I think it's a legit feature request.

I see, I wonder if there is some way I can pass it in manually per route then into some middleware? Or get the function name of the handler instead?...

omg you're such a legend, thanks so much for this, looks like it'll work great. I'll try it out soon, probably on the next poem-openapi release to crates.io, or maybe...

Used it here: https://github.com/aptos-labs/aptos-core/pull/2781! Still testing but looks good!

It's not critical but it would be a nice win, my spec is currently getting very long due to the repeating the same params with the same long descriptions every...

Just to confirm the request from this PR, for now if I want a struct to be "flattened" such that there is a param for each field, I just have...

@sunli829 Could we re-open this and mark it as "do not delete if stale"? This seems like a great feature idea.

For example `NOT_FOUND`, I'd love to be able to control that response.

So instead of using `bad_request_handler` I'm now using `catch_all_error` on the endpoint: ``` // The way I'm determining which errors are framework errors is very janky, as // is the...