File parameter is used in an operation where the 'consumes' property does not allow it
file is used in an operation where the
consumes property does not allow it. This can happen if you have not defined the
consumes property as:
For more details, see the OpenAPI Specification.
Make sure that the
consumes property allows using the the
file parameter, or remove the parameter.