Add API reference page and WIP swagger file

This commit is contained in:
Billy Tat
2023-10-11 16:55:55 -07:00
parent 7f11aa00f4
commit 7b17550831
4 changed files with 5566 additions and 1 deletions
+18
View File
@@ -172,6 +172,24 @@ module.exports = {
},
},
],
[
'redocusaurus',
{
// Plugin Options for loading OpenAPI files
specs: [
{
id: 'rancher-api',
spec: 'openapi/swagger.json',
// route: '/api/',
},
],
// Theme Options for modifying how redoc renders them
theme: {
// Change with your site colors
primaryColor: '#1890ff',
},
},
],
],
plugins: [
[