Open magicxor opened 2 years ago
I'm also looking for this. Is there a way to do this or a easy work around?
Also looking for a workaround here.
I know that ASP's ApiExplorer
exposes limited information on [FromForm]
-annotated parameters and limits schema generation (issue, issue). But a workaround to get a $ref
and a schema would be incredibly helpful for front-end type generation.
Even being able to manually annotate the controller method with a schema name or something would help.
Hello. I'm trying to generate named models (arguments) for
multipart/form-data
requests:It works for [FromBody] arguments, but it doesn't work for [FromForm] arguments:
Is there any workaround? I would like to get something like
ReproApp.zip
I'm using Swashbuckle.AspNetCore 6.2.3 on net6.0.