From 33c06934abcdcb600e79a2f48da98366cd6de80e Mon Sep 17 00:00:00 2001
From: Eva Valentine <4528461+eva-val@users.noreply.github.com>
Date: Wed, 8 Nov 2023 21:36:29 +0000
Subject: [PATCH] Update _rest_routes.inc.php. generated api-docs (#6968)
---
_rest_routes.inc.php | 11 ++++++++++-
swagger/openemr-api.yaml | 10 +++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/_rest_routes.inc.php b/_rest_routes.inc.php
index e8ecbfb63..f5e05cb01 100644
--- a/_rest_routes.inc.php
+++ b/_rest_routes.inc.php
@@ -6919,7 +6919,7 @@ RestConfig::$ROUTE_MAP = array(
* )
* ),
* @OA\Parameter(
- * name="eid",
+ * name="mid",
* in="path",
* description="The id for the pnote message.",
* required=true,
@@ -9689,6 +9689,15 @@ RestConfig::$FHIR_ROUTE_MAP = array(
* path="/fhir/Group/{id}/$export",
* description="The BULK FHIR Exports documentation can be found at https://www.open-emr.org/wiki/index.php/OpenEMR_Wiki_Home_Page#API",
* tags={"fhir"},
+ * @OA\Parameter(
+ * name="id",
+ * in="path",
+ * description="The id for the Group resource.",
+ * required=true,
+ * @OA\Schema(
+ * type="string"
+ * )
+ * ),
* @OA\Response(
* response="200",
* description="The BULK FHIR Exports documentation can be found at https://www.open-emr.org/wiki/index.php/OpenEMR_Wiki_Home_Page#API"
diff --git a/swagger/openemr-api.yaml b/swagger/openemr-api.yaml
index 2ee2c6127..afb4e4001 100644
--- a/swagger/openemr-api.yaml
+++ b/swagger/openemr-api.yaml
@@ -3429,7 +3429,7 @@ paths:
schema:
type: string
-
- name: eid
+ name: mid
in: path
description: 'The id for the pnote message.'
required: true
@@ -4911,6 +4911,14 @@ paths:
tags:
- fhir
description: 'The BULK FHIR Exports documentation can be found at https://www.open-emr.org/wiki/index.php/OpenEMR_Wiki_Home_Page#API'
+ parameters:
+ -
+ name: id
+ in: path
+ description: 'The id for the Group resource.'
+ required: true
+ schema:
+ type: string
responses:
'200':
description: 'The BULK FHIR Exports documentation can be found at https://www.open-emr.org/wiki/index.php/OpenEMR_Wiki_Home_Page#API'
--
2.11.4.GIT