From 2f12fc40fe4b44f246ffa87a656276de6990c4a2 Mon Sep 17 00:00:00 2001 From: lgromero Date: Thu, 15 Feb 2024 09:28:46 +0100 Subject: [PATCH] "#153 Updates swagger.json" --- public/swagger.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/public/swagger.json b/public/swagger.json index 7865827..8879177 100644 --- a/public/swagger.json +++ b/public/swagger.json @@ -1,13 +1,13 @@ { "openapi": "3.0.0", "info": { - "title": "My API", + "title": "Ogdhcp API", "version": "1.0" }, "paths": { - "/opengnsys3/rest/dhcp/subnet": { + "/opengnsys3/rest/dhcp/subnets": { "get": { - "operationId": "ece42bc4084486aedf42734bdb0b84cb", + "operationId": "8f92a1cbcb8cd176bdc4ae272b3ad303", "responses": { "200": { "description": "Devuelve todas las subredes", @@ -29,7 +29,7 @@ }, "post": { "summary": "Add a new DHCP subnet", - "operationId": "36e86a6932056e774180d074d3d63ad0", + "operationId": "88949bae5e7784ce2721ffafe7c88c0a", "requestBody": { "description": "JSON payload", "required": true, @@ -97,10 +97,10 @@ } } }, - "/opengnsys3/rest/dhcp/subnet/{subnetId}": { + "/opengnsys3/rest/dhcp/subnets/{subnetId}": { "put": { "summary": "Modify a DHCP subnet", - "operationId": "c002afa59d07660be24fda34e1498c13", + "operationId": "548b55fc0e1ad59ea5b5c909dfd07c71", "parameters": [ { "name": "subnetId", @@ -172,7 +172,7 @@ }, "delete": { "summary": "Delete a DHCP subnet", - "operationId": "299c4287d729ca98c47ef613720051f4", + "operationId": "c1c1c34729bdd85857b22e6e2bdc41de", "parameters": [ { "name": "subnetId", @@ -218,10 +218,10 @@ } } }, - "/opengnsys3/rest/dhcp/subnet/{subnetId}/host": { + "/opengnsys3/rest/dhcp/subnets/{subnetId}/hosts": { "get": { "summary": "Get all hosts in a subnet", - "operationId": "2511366de74accc3d7356814ced1cf50", + "operationId": "0989ca622a6a7e23f5af8e3bdd6f6b05", "parameters": [ { "name": "subnetId", @@ -281,7 +281,7 @@ }, "put": { "summary": "Update a DHCP host", - "operationId": "6106fe2802e2f913ddb35df61b5fde35", + "operationId": "1541441cd53685aaf6df45ab48befaa8", "parameters": [ { "name": "subnetId", @@ -361,7 +361,7 @@ }, "post": { "summary": "Add a DHCP host to a subnet", - "operationId": "f5d3e1de64faa4e5b14cdc7d3bd0c427", + "operationId": "3f897dcd7c04787ac9c42ddbb57cb800", "parameters": [ { "name": "subnetId", @@ -433,7 +433,7 @@ }, "delete": { "summary": "Delete a DHCP host from a specific subnet", - "operationId": "542cc5fc093ff121c154504e9cad270f", + "operationId": "f652c52b39d57d283401df66a7930b5f", "parameters": [ { "name": "subnetId",