Daniel Porteous (dport)
Daniel Porteous (dport)
Alternatively it'd be great if there was some way to identify my own error and then know that everything else is an API error. Unfortunately by this point my error...
I see why it does what it does today, because without the intermediate types you're silently returning data with the `type` field even though the spec doesn't indicate it should....
Almost, the way poem works now (unless I'm mistaken) it returns data with the `type` field set already, so I don't expect that the struct should require the type field....
Hmmm I see, let me investigate further.
Okay I looked and it indeed doesn't return the `type` field by default. Sooooooooo, this is probably a big ask but I think it'd be awesome if you could have...
To add further detail, I'm migrating from a regular webserver that returns JSON generated by serde, to Poem. With serde this is very easy, you can just add this: ```...
Okay thinking more about this, I figure this combination of things will work: 1. Add `no_intermediate`, which assumes the enum variants all have the field specified in `discriminator_name`. 2. Use...
I say not stale hahah, but I can't remove the label
I see we have docs at `poem-openapi/src/docs/openapi.md`, we could make an alias to go search there at least.
lol I can take a look at doing it, stay posted