28 lines
506 B
YAML
28 lines
506 B
YAML
definitions:
|
|
main.Request:
|
|
properties:
|
|
url:
|
|
type: string
|
|
required:
|
|
- url
|
|
type: object
|
|
info:
|
|
contact: {}
|
|
paths:
|
|
/api/v1/bilibili/subtitles:
|
|
post:
|
|
consumes:
|
|
- application/json
|
|
description: 获取字幕
|
|
parameters:
|
|
- description: 请求参数
|
|
in: body
|
|
name: json
|
|
required: true
|
|
schema:
|
|
$ref: '#/definitions/main.Request'
|
|
produces:
|
|
- application/json
|
|
responses: {}
|
|
swagger: "2.0"
|