2020-04-05 16:20:50 +10:00
|
|
|
// Copyright 2020 The Gitea Authors. All rights reserved.
|
2022-11-28 05:20:29 +11:00
|
|
|
// SPDX-License-Identifier: MIT
|
2020-04-05 16:20:50 +10:00
|
|
|
|
2021-06-09 09:33:54 +10:00
|
|
|
package web
|
2018-07-28 10:19:01 +10:00
|
|
|
|
|
|
|
import (
|
2024-02-27 18:12:22 +11:00
|
|
|
"code.gitea.io/gitea/services/context"
|
2018-07-28 10:19:01 +10:00
|
|
|
)
|
|
|
|
|
|
|
|
// SwaggerV1Json render swagger v1 json
|
|
|
|
func SwaggerV1Json(ctx *context.Context) {
|
2024-02-18 20:52:02 +11:00
|
|
|
ctx.JSONTemplate("swagger/v1_json")
|
2018-07-28 10:19:01 +10:00
|
|
|
}
|