mirror of
https://github.com/h44z/wg-portal.git
synced 2025-08-25 14:31:14 +00:00
use query param for public key in api requests (#11)
This commit is contained in:
@@ -285,7 +285,7 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/backend/peer/{pkey}": {
|
||||
"/backend/peer": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
@@ -304,7 +304,7 @@ var doc = `{
|
||||
"type": "string",
|
||||
"description": "Public Key (Base 64)",
|
||||
"name": "pkey",
|
||||
"in": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
@@ -356,7 +356,7 @@ var doc = `{
|
||||
"type": "string",
|
||||
"description": "Public Key",
|
||||
"name": "pkey",
|
||||
"in": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
@@ -426,7 +426,7 @@ var doc = `{
|
||||
"type": "string",
|
||||
"description": "Public Key",
|
||||
"name": "pkey",
|
||||
"in": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
@@ -487,7 +487,7 @@ var doc = `{
|
||||
"type": "string",
|
||||
"description": "Public Key",
|
||||
"name": "pkey",
|
||||
"in": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
@@ -1039,7 +1039,7 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/provisioning/peer/{pkey}": {
|
||||
"/provisioning/peer": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
@@ -1058,7 +1058,7 @@ var doc = `{
|
||||
"type": "string",
|
||||
"description": "Public Key (Base 64)",
|
||||
"name": "pkey",
|
||||
"in": "path",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
|
Reference in New Issue
Block a user