Compare commits

..

2 Commits

Author SHA1 Message Date
tracer 52df244e0b changed parameter names
Signed-off-by: tracer <tracer@24unix.net>
2022-02-19 18:25:07 +01:00
tracer ffe1ccedcb made path to bindapi.json relative
Signed-off-by: tracer <tracer@24unix.net>
2022-02-19 18:24:04 +01:00
2 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@
"default": "https" "default": "https"
}, },
"hostname": { "hostname": {
"default": "ns2.24unix.net" "default": "ns1.24unix.net"
} }
} }
} }
@ -116,7 +116,7 @@
"operationId": "getSingleDomain", "operationId": "getSingleDomain",
"parameters": [ "parameters": [
{ {
"name": "name", "name": "id",
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
@ -145,7 +145,7 @@
"operationId": "putDomain", "operationId": "putDomain",
"parameters": [ "parameters": [
{ {
"name": "name", "name": "id",
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
@ -183,7 +183,7 @@
"operationId": "73c6c14e6d84f759d2e09029cb7ab2be", "operationId": "73c6c14e6d84f759d2e09029cb7ab2be",
"parameters": [ "parameters": [
{ {
"name": "name", "name": "id",
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
@ -215,7 +215,7 @@
], ],
"summary": "Returns a single domain by name.", "summary": "Returns a single domain by name.",
"description": "Returns information of a single domain specified by its domain name.", "description": "Returns information of a single domain specified by its domain name.",
"operationId": "getSingleDomain", "operationId": "getSingleDomainByName",
"parameters": [ "parameters": [
{ {
"name": "name", "name": "name",

View File

@ -20,7 +20,7 @@
window.onload = function () { window.onload = function () {
// Begin Swagger UI call region // Begin Swagger UI call region
const ui = SwaggerUIBundle({ const ui = SwaggerUIBundle({
url: "https://ns2.24unix.net/openapi/bindapi.json", url: "/openapi/bindapi.json",
dom_id: "#swagger-ui", dom_id: "#swagger-ui",
deepLinking: true, deepLinking: true,
presets: [ presets: [