From 1f75c129572f417e871e6287155195278f641069 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 26 Mar 2021 14:40:23 +0100 Subject: [PATCH] Add test for API explorer using redoc --- htdocs/api/admin/explorer_withredoc.php | 55 +++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 htdocs/api/admin/explorer_withredoc.php diff --git a/htdocs/api/admin/explorer_withredoc.php b/htdocs/api/admin/explorer_withredoc.php new file mode 100644 index 00000000000..08711abede2 --- /dev/null +++ b/htdocs/api/admin/explorer_withredoc.php @@ -0,0 +1,55 @@ + + * Copyright (C) 2016 Laurent Destailleur + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * @deprecated Old explorer. Not using Swagger. See instead explorer in htdocs/api/index.php. + */ + +/** + * \defgroup api Module DolibarrApi + * \brief API explorer using the swagger.json file + * \file htdocs/api/admin/explorer_withredoc.php + */ + +require_once '../../main.inc.php'; + +?> + + + + ReDoc + + + + + + + + + + '> + + + + +