mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 00:38:33 +02:00
fix(api): wrong "accept" type in file set and validate API
This commit is contained in:
@@ -15,7 +15,7 @@ type SetFileContentRequest GetFileContentRequest
|
||||
// @Summary Set file content
|
||||
// @Description Set file content
|
||||
// @Tags file
|
||||
// @Accept json
|
||||
// @Accept text/plain
|
||||
// @Produce json
|
||||
// @Param type query FileType true "Type"
|
||||
// @Param filename query string true "Filename"
|
||||
|
||||
Reference in New Issue
Block a user