mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-24 13:15:55 +00:00
Add route for stable API
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user