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