mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
Add route for stable API
This commit is contained in:
@@ -38,6 +38,10 @@ const apiConfig = [
|
|||||||
route: '/api/1.19/',
|
route: '/api/1.19/',
|
||||||
spec: 'static/swagger-19.json',
|
spec: 'static/swagger-19.json',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
route: '/api/',
|
||||||
|
spec: 'static/swagger-21.json',
|
||||||
|
}
|
||||||
]: [],
|
]: [],
|
||||||
// Theme Options for modifying how redoc renders them
|
// Theme Options for modifying how redoc renders them
|
||||||
theme: {
|
theme: {
|
||||||
|
|||||||
Reference in New Issue
Block a user