From e0031eb93ec9dd978238f0d9aa53f4b85c77fb5f Mon Sep 17 00:00:00 2001 From: Max Baumann Date: Mon, 7 Nov 2022 10:59:36 +0100 Subject: [PATCH] docs: update swagger docs --- docs/docs.go | 4 ++-- docs/swagger.json | 4 ++-- docs/swagger.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index c9d6fbb..b4d681d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -55,7 +55,7 @@ const docTemplate = `{ } } }, - "/er": { + "/emergency-room": { "get": { "produces": [ "application/json" @@ -144,7 +144,7 @@ const docTemplate = `{ } } }, - "/er/{id}": { + "/emergency-room/{id}": { "get": { "produces": [ "application/json" diff --git a/docs/swagger.json b/docs/swagger.json index 2dd6f90..861884b 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -43,7 +43,7 @@ } } }, - "/er": { + "/emergency-room": { "get": { "produces": [ "application/json" @@ -132,7 +132,7 @@ } } }, - "/er/{id}": { + "/emergency-room/{id}": { "get": { "produces": [ "application/json" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 161d7e4..f54e0c8 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -135,7 +135,7 @@ paths: summary: get all departments tags: - departments - /er: + /emergency-room: get: parameters: - description: 0-indexed page number, 0 is assumed when omitted @@ -193,7 +193,7 @@ paths: summary: create a new emergency room tags: - emergency-rooms - /er/{id}: + /emergency-room/{id}: delete: parameters: - description: 'Bearer: '