This message was deleted.
# ask-for-help
s
This message was deleted.
m
Try to used a pydantic schema.
m
Well, I gave a simplified example. But my realistic payload is a bit too complex to pydanticafy. Also, I’m not really looking for real schema validation (at least not right now), just want the swagger ui to present an example payload for this case. Any reason that a list-of-dicts shouldn’t work?
a
Sorry this is an oversight on my end. https://github.com/bentoml/BentoML/pull/3229 should fix your issue @Mike Kuhlen