mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-11 03:06:51 +02:00
fix(api): renew endpoint uses get instead of post, correct @Accept docs
This commit is contained in:
@@ -297,9 +297,6 @@
|
||||
"/cert/info": {
|
||||
"get": {
|
||||
"description": "Get cert info",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -338,16 +335,14 @@
|
||||
}
|
||||
},
|
||||
"/cert/renew": {
|
||||
"post": {
|
||||
"get": {
|
||||
"description": "Renew cert",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
"text/plain"
|
||||
],
|
||||
"tags": [
|
||||
"cert"
|
||||
"cert",
|
||||
"websocket"
|
||||
],
|
||||
"summary": "Renew cert",
|
||||
"responses": {
|
||||
@@ -377,9 +372,6 @@
|
||||
"/docker/containers": {
|
||||
"get": {
|
||||
"description": "Get containers",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -417,9 +409,6 @@
|
||||
"/docker/info": {
|
||||
"get": {
|
||||
"description": "Get docker info",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -431,10 +420,7 @@
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ServerInfo"
|
||||
}
|
||||
"$ref": "#/definitions/ServerInfo"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
|
||||
Reference in New Issue
Block a user