From 0274225b2afee01b6f10581bab2fb585f4d6479a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 26 May 2024 13:01:44 +0800 Subject: [PATCH] Add route for stable API --- docusaurus.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index 73de9619..b7e56588 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -38,6 +38,10 @@ const apiConfig = [ route: '/api/1.19/', spec: 'static/swagger-19.json', }, + { + route: '/api/', + spec: 'static/swagger-21.json', + } ]: [], // Theme Options for modifying how redoc renders them theme: {