Skip to content

[Feature request]: SwaggerIgnoreAttribute for FromForm requests #2919

@jgarciadelanoceda

Description

@jgarciadelanoceda

Is your feature request related to a specific problem? Or an existing feature?

I have seen that you added this PR:
#2610

This PR adds the possibility of not loading certain properties in Swagger. With a previous version of the library I added a SchemaFilter and a OperationFilter to do this.

I needed to add a SchemaFilter for removing the property for a simple Json scenario, whereas for removing the property for a FromForm request I had to add the OperationFilter

Describe the solution you'd like

I will like to use the Built in attribute for the FromForm swagger property ignoring, and I like the solution to work also with the Microsoft.AspNetCore.Mvc.FromFormAttribute.

If you find this addition interesting I am happy to contribute to this project

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions