Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule for multipart/form-data #26

Open
mikekistler opened this issue Oct 30, 2021 · 1 comment
Open

Rule for multipart/form-data #26

mikekistler opened this issue Oct 30, 2021 · 1 comment
Assignees

Comments

@mikekistler
Copy link
Member

If an operation is defined to accept multipart/form-data but only defines a single formData parameter, flag this and recommend to change to application/octet-stream and with a body parameter.

@mikekistler
Copy link
Member Author

We should also define a rule that disallows any other content-type with multipart/form-data. There are some current violators of this rule in Azure, such as this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants