We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{ "openapi": "3.0.0", "info": { "title": "NestJS API", "description": "NestJS API description", "version": "1.0", "contact": {} }, "servers": [], "paths": { "/api/upload/file": { "post": { "operationId": "UploadController_uploadFile", "parameters": [], "requestBody": { "required": true, "description": "文件上传", "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/FileUploadDTO" } } } }, "responses": { "201": { "description": "" } }, "summary": "文件上传", "tags": [ "文件上传" ] } } }, "components": { "FileUploadDTO": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } }, "required": [ "file" ] } } }
请求类型得到的却是:application/json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
{
"openapi": "3.0.0",
"info": {
"title": "NestJS API",
"description": "NestJS API description",
"version": "1.0",
"contact": {}
},
"servers": [],
"paths": {
"/api/upload/file": {
"post": {
"operationId": "UploadController_uploadFile",
"parameters": [],
"requestBody": {
"required": true,
"description": "文件上传",
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/FileUploadDTO"
}
}
}
},
"responses": {
"201": {
"description": ""
}
},
"summary": "文件上传",
"tags": [
"文件上传"
]
}
}
},
"components": {
"FileUploadDTO": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
}
},
"required": [
"file"
]
}
}
}
请求类型得到的却是:application/json
The text was updated successfully, but these errors were encountered: