FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
The following types of properties can now be automatically model bound from file form data fields.
class Request
{
public IEnumerable<IFormFile> Cars { get; set; }
public List<IFormFile> Boats { get; set; }
public IFormFileCollection Jets { get; set; }
}
When submitting collections of form files, the incoming field names can be one of the following 3 formats:
Format One
Format Two
Format Three
# 1
Cars
Boats[1]
Jets[]
# 2
Cars
Boats[2]
Jets[]
Multiple examples for the request DTO can be specified by either setting the ExampleRequest property of the Summary class multiple times or adding to
the RequestExamples collection like so:
Summary(s =>
{
s.ExampleRequest = new MyRequest {...};
s.ExampleRequest = new MyRequest {...};
s.RequestExamples.Add(new MyRequest {...});
});
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps FastEndpoints.Swagger from 5.18.0 to 5.19.0.
Release notes
Sourced from FastEndpoints.Swagger's releases.
... (truncated)
Commits
d960e7f
v5.19 releasebd9daa7
beta 9 build4861e00
Fix #5114491898
Beta 7 build5791d01
update changelog27a90d2
changelog updates6573727
exposerequestexamples
property04346fb
editorconfig update2b4d4eb
Add antiforgery support (#509)4313f3b
improve nullable member expression parametersDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show