bilibili/subtitles/swag/swagger.json

44 lines
1.1 KiB
JSON
Raw Permalink Normal View History

2024-07-01 17:22:31 +08:00
{
"swagger": "2.0",
"info": {
"contact": {}
},
"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"
}
}
}
}
}