本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
324B

  1. package routers
  2. import (
  3. "code.gitea.io/gitea/modules/base"
  4. "code.gitea.io/gitea/modules/context"
  5. )
  6. // tplSwaggerV1Json swagger v1 json template
  7. const tplSwaggerV1Json base.TplName = "swagger/v1_json"
  8. // SwaggerV1Json render swagger v1 json
  9. func SwaggerV1Json(ctx *context.Context) {
  10. ctx.HTML(200, tplSwaggerV1Json)
  11. }
上海开阖软件有限公司 沪ICP备12045867号-1