bilibili/subtitles/swag/docs.go
timerzz c00090712d
Some checks failed
Build image / build (push) Failing after 3s
feat 初始化
2024-07-01 17:22:31 +08:00

74 lines
1.8 KiB
Go

// Package swag Code generated by swaggo/swag. DO NOT EDIT
package swag
import "github.com/swaggo/swag"
const docTemplate = `{
"schemes": {{ marshal .Schemes }},
"swagger": "2.0",
"info": {
"description": "{{escape .Description}}",
"title": "{{.Title}}",
"contact": {},
"version": "{{.Version}}"
},
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {
"/api/v1/bilibili/subtitles": {
"post": {
"description": "获取字幕",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"description": "请求参数",
"name": "json",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/main.Request"
}
}
],
"responses": {}
}
}
},
"definitions": {
"main.Request": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
}
}
}
}`
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "",
Host: "",
BasePath: "",
Schemes: []string{},
Title: "",
Description: "",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
}
func init() {
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}