Valentin De Matos

Results 31 comments of Valentin De Matos

> This is not picked up at all, while using just 'example' is picked up. That is even the case when you have multiple properties (sentence_1 and foo in this...

Thanks for you answer @JarroVGIT. It seems that `Form` neither produce an `example` value in the `/openapi.json`. I guess it's related, isn't it? Example code ```py from fastapi import Body,...

@JarroVGIT I will take a look at starting from today. Keeping you up to date during this week.

@JarroVGIT This is my current stat of understanding regarding the code base : 1. `get_param_field` is called by `get_dependant` (for each `signature_params)` which call `create_response_field`. 2. `create_response_field` returns `field` that...

Update : As you do ([cf](https://github.com/tiangolo/fastapi/blob/5c576e42be8f8832f0e225beaa72153a256892d7/fastapi/dependencies/utils.py#L726-L727)): ```py for f in flat_dependant.body_params: BodyModel.__fields__[f.name] = f ``` followed by ([cf](https://github.com/tiangolo/fastapi/blob/5c576e42be8f8832f0e225beaa72153a256892d7/fastapi/dependencies/utils.py#L745-L751)): ```py final_field = create_response_field( name="body", type_=BodyModel, # used here required=required, alias="body", field_info=BodyFieldInfo(**BodyFieldInfo_kwargs),...

@JarroVGIT is the test coverage KO? It's running since yesterday 🫤

Indeed, it was just stuck. Tks @JarroVGIT What's the next step to review/merge this PR?

> To be honest, that is up to @tiangolo . He is the sole maintainer on this project. I don't mean this with any disrespect, but what is merged (and...