fix(api): wrong "accept" type in file set and validate API

This commit is contained in:
yusing
2025-08-16 17:31:11 +08:00
parent 52324fbef2
commit 1e78a0a0a0
5 changed files with 12 additions and 12 deletions

View File

@@ -684,7 +684,7 @@ const docTemplate = `{
"put": {
"description": "Set file content",
"consumes": [
"application/json"
"text/plain"
],
"produces": [
"application/json"
@@ -792,7 +792,7 @@ const docTemplate = `{
"post": {
"description": "Validate file",
"consumes": [
"application/json"
"text/plain"
],
"produces": [
"application/json"