mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-04 20:30:39 +00:00
Add HTML note in README, tweak swagger def
This commit is contained in:
parent
0a7c8ebae9
commit
a41f5671b0
2 changed files with 37 additions and 3 deletions
|
@ -267,9 +267,14 @@ def create_app(args):
|
|||
name: format
|
||||
schema:
|
||||
type: string
|
||||
example: html or text
|
||||
enum: [text, html]
|
||||
default: text
|
||||
example: text
|
||||
required: false
|
||||
description: The format of the source text
|
||||
description: >
|
||||
Format of source text:
|
||||
* `text` - Plain text
|
||||
* `html` - HTML markup
|
||||
- in: formData
|
||||
name: api_key
|
||||
schema:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue