mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-31 14:13:09 +02:00
fix(api): wrong "accept" type in file set and validate API
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user